How to wait until the next bar ?
Forget Sleep(), search forum - masses of refs to this subject.
eg, https://book.mql4.com/variables/arrays
search page with this text: to detect a new tick on a zero bar
ukt:
Forget Sleep(), search forum - masses of refs to this subject.
eg, https://book.mql4.com/variables/arrays
search page with this text: to detect a new tick on a zero bar
Thank you,
It is very useful :-)
Have a nice day.
Hello,
In my EA, when the current trade have a profit level (for example 50) I make a SL of 25.
I would like when the EA close the current trade (when arrived at 25 profit) waiting the next bar to enter in a new trade.
Have you got any idea to make this ?
I know sleep() function, but I don't know how to make this awaiting with sleep().
Thank you,
Have a nice day.