Hi Jack
Thank you for taking the time to reply. I have attached a bare-bones backtest (using FXCM data, so US/Eastern Standard time). Ultimately what I want to code is a "London breakout" algorithm for Forex, so I need to know when it's 8 am in London. This backtest doesn't have any trading logic, it just does the following:
1) prints a dot on the chart for the value of "GBPUSD" at 3 am (well it should be 'SeriesType.Scatter', but it's printing as a line in my Algorithm Lab). Should be Blue for no DST, Green for NY = DST, Red for both NY and UK = DST.
2) when the current hour is 3 am, the string "3 am" is printed to the log (log output pasted below)
Basically, what I can't figure out is what time is 8 am in London with respect to the timestamps in the log. I understand that when neither location is in DST, 3 am EST is 8 am in London. However when New York is in DST, 3 am prints as 4 am in the log. Is 8 am in London still 3 am in the log, or is it now 4 am? When both locations are in DST, is 8 am in London now 4 am in the log or has it returned to 3 am?
** A note about how I have coded the backtest. It uses 'Resolution.Second' data and a custom consolidator to produce hourly consolidated bars. This is because the algorithm I want to code needs to make trading decisions every second but also relies on hourly SMA values.
Regards,
Joel
P.S. I don't know if the time of each data point is displaying correctly here... I'm seeing them as 8 am after  I attached the backtest (and I'm in Australia, so not even my local time for 3 am EST New York)
--------
2018-03-05 03:00:00 3 am
2018-03-06 03:00:00 3 am
2018-03-07 03:00:00 3 am
2018-03-08 03:00:00 3 am
2018-03-09 03:00:00 3 am
2018-03-12 04:00:00 3 am
2018-03-13 04:00:00 3 am
2018-03-14 04:00:00 3 am
2018-03-15 04:00:00 3 am
2018-03-16 04:00:00 3 am
2018-03-19 04:00:00 3 am
2018-03-20 04:00:00 3 am
2018-03-21 04:00:00 3 am
2018-03-22 04:00:00 3 am
2018-03-23 04:00:00 3 am
2018-03-26 04:00:00 3 am
2018-03-27 04:00:00 3 am
2018-03-28 04:00:00 3 am
2018-03-29 04:00:00 3 am
2018-03-30 04:00:00 3 am