Hi,
Does anyone have any code or suggestions on how to adjust time filters to suit daylight savings time?
I trade EUR/USD.
My current time filters look like this...
condition 1= time >= USStartTime and time <= USFinishTime
condition 2= time >= EUROStartTime and time <= EUROFinishTime
MarketEntryTime = condition1 or condition2
If MarketEntryTime then
Buy next bar at market
Regards
T
Daylight Savings Time
- Stan Bokov
- Posts: 963
- Joined: 18 Dec 2009
- Has thanked: 367 times
- Been thanked: 302 times
Re: Daylight Savings Time
You can check the date when DST kicks in, and adjust the starting and end times by one hour in the proper direction.