if the gap makes the price jump over your buy stop level you can't delete it any more (OrderDelete) because the order has already triggered
you can close it (OrderClose) if you want
If it gaps up over your trigger it's already too late to delete it.
Don't use buystops in EAs. Those are for Humans that can't watch every tick of the day.
thank you
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
Open pending order by Buy Stop.
If next bar open price with gap jump over buy stop level more than 10 pips.
How to delete pending order before change position from buy stop to buy order ?
thank you