Sleep function in EA between orders
you can also easy build a variable in a if() question that will change after a event, easy
Just found this thread https://www.mql5.com/en/forum/174203
May be it will help.
you can also easy build a variable in a if() question that will change after a event, easy
Just found this thread https://www.mql5.com/en/forum/174203
May be it will help.
You agree to website policy and terms of use
Hi,
I'm trying to modify an EA. The conditions to close the trade are various in this EA but i need help on 1 case ONLY.
How to dow to make a pause of 10mn when a trailingstop is reached, to avoid the EA to take again a new position immediately after ?
I don't want the EA to make a pause for all the stops but ONLY if the trailingstop is reached.
If anyone has an idea or a sample of code... thanks a lot.