Time EA & DST
1件の返信
こんにちは、,
I am looking to create an EA for a counter, that logs a close of a particular candle at a specific time but due to the daylight savings, it gets a little complicated.
例えば.
The counter will open at 1:15am (MT4 server time) and I would like to track the close of candle @ 8:15am.
During the DST, the counter opens 2:15am and I would like to track the close of candle @ 9:15am.
How can I do that on EA wizard?
ありがとう。.
0
こんにちは,
if you need check for a current hour you can compare with “countHour + Offset”. This offset variable will be set to 0 / 1 based on whether DST is ON or OFF
if (Hour = CountHour + Offset) ….
Do you need an example on this?
0
1件の返信を表示中 - 1 - 1件目 (全1件中)