Daylight Savings Time

Questions about MultiCharts and user contributed studies.
User avatar
t-rader
Posts: 139
Joined: 02 Feb 2011
Location: Australia
Has thanked: 11 times
Been thanked: 27 times

Daylight Savings Time

Postby t-rader » 09 Apr 2011

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

User avatar
Stan Bokov
Posts: 963
Joined: 18 Dec 2009
Has thanked: 367 times
Been thanked: 302 times

Re: Daylight Savings Time

Postby Stan Bokov » 12 Apr 2011

You can check the date when DST kicks in, and adjust the starting and end times by one hour in the proper direction.


Return to “MultiCharts”