Can you help me convert London and Newyork Markets' times to Broker's server time

 

Hi all,

I want to trade while London and Newyork Markets are open.

I want to use Strategy Tester in these times too.

However I only know their open and close time GMT.

Can you help me to solve this question

"When I look at the Chart I saw times, are these Broker's server time or local time?"

 
Chart times are broker times. Do you have NY, London, and your broker's TZ and DST information, (including historical changes?) Only then, with code can you convert session times to UTC to broker's time. You can use offset inputs but then you must maintain them correctly, through all three DST changes when they occur.