Delete pending orders if they will be hedge orders
Is there any EA that can manage pending orders so they are not triggered if there is another order running in the other direction?
So, if I have an open BUY on the EUR/USD and another EA on my account is placing a pending SELL on the same pair I would like that one to be deleted so it won't place that order.
I guess I could make one myself, but maybe someone already did this. Any ideas if there is something available?
may you find something in the EA section....
But this is the EA section, right?
But this is the EA section, right?
This is the Forum. @Juergen Frank is suggesting you search the CodeBase.
As I recall, the EA described here does what you are looking for.
- 2017.10.20
- Vasiliy Sokolov
- www.mql5.com
Promotion of products is not permitted in this forum.
Is there any EA that can manage pending orders so they are not triggered if there is another order running in the other direction?
So, if I have an open BUY on the EUR/USD and another EA on my account is placing a pending SELL on the same pair I would like that one to be deleted so it won't place that order.
I guess I could make one myself, but maybe someone already did this. Any ideas if there is something available?