Ah, just found my answer! Finally!
You use TRADE_ACTION_REMOVE to do this.
More info here: https://www.mql5.com/en/docs/constants/tradingconstants/enum_trade_request_actions

Documentation on MQL5: Constants, Enumerations and Structures / Trade Constants / Trade Operation Types
- www.mql5.com
Trading is done by sending orders to open positions using the OrderSend() function, as well as to place, modify or delete pending orders. Each trade order refers to the type of the requested operation. Trading operations are described in the ENUM_TRADE_REQUEST_ACTIONS enumeration...

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
Hello everyone
Is there some example code someone can post on deleting sell stop and/or buy stop orders please?
I'm sure there must be an MQL5 library function to do this, but I can't seem to find it in the documentation.
Thanks!
-Scott