Sleep()

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
I was courious if there were a line of code I could place at the bottom of an EA script to make it pause for "X" ammount of time.
For Example:
My script can open up to 5 positions based on the entry rules but...I do not want entries to be too close.
is there any way to either pause the EA, or make it check the time of the last open position and if time is less than 30 min, to not open a position?
Thank you for any assistance