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.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.