Timer Function
4 replies
TJ#
7 years ago #116380
hi Tomas,
Is there a TIMER func on EA Wizard?
TIMER = HH:MM:SS
Eg.
When MA 13 & 21 crosses on M1 chart, I would like to LONG after 2min & 30 secs or 3min 15sec .
Thanks.
tomas262
7 years ago #141729
Hello,
so you want to run a min/sec counter after the indicator cross? I can make an example for this
TJ#
7 years ago #141744
tomas262
7 years ago #141767
Add this into EA Wizard / code / CustomFunctions.mq4 file. Then you can use it in Wizard as it is shown in example attached.
int getCurrentMinute() { return Minute(); }
TJ#
7 years ago #141774
Thank you Tomas.
Viewing 4 replies - 1 through 4 (of 4 total)