How to automate DST adjustment
-
Hi Experts,
I am a swing trader and I look to enter and exit trades 20 minutes before the end of the daily candle close.
I am having the problem where my EA is suddenly opening trades an hour later, messing up my entries completely.
I was thinking there may be some variable that toggles when DST is in effect but I am not sure where to begin.
Please advise if you can!
faulknertrader1
-
By DST I assume you mean daylight saving time, your broker will adjust for this, use server time, I think.
-
Thanks for the quick response,
Yeah, I meant Daylight saving time, thanks for clearing that up. I am going to trial this until i get new entries and I'll come back and let you/anyone who needs this know if this works.
Thanks again
-
@jstap after getting a long signal on nzdcad, your reccomended fix worked perfectly, as easy as you made it appear

thanks for your dedicated work! -
Your welcome