- Your script (not an EA) deletes all pending orders. Any remaining TP/SL are part of open orders.
- Why did you post your MT4 question in the
Root /
MT5 EA section
instead of the
MQL4 section (bottom of
the Root page?)
Albalunga: This sections is "EA and automated trading" so I thought it is for both MT4 and MT5
| General rules and best pratices of the Forum. - General - MQL5 programming forum |
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
There is an EA that cancel all pending orders (see attached). But it leaves on market pending take profit and stop loss, that really are also pending orders. Is there an EA that cancel ALL pending orders (that is also take profit and stop loss)?
Thanks