OCO orders on the MetaTrader4 platform MT4 (one cancels the other) - MetaTrader 4 Expert
Place cancel orders (OCO orders), one-point limit orders and one-point stop-loss orders on the MetaTrader 4 (MT4) platform.
Global variables: Press function key F3" to change
OCO_BUY_LIMIT: Buy limit
OCO_BUY_STOP: buy stop price
OCO_SELL_LIMIT: sell limit price
OCO_SELL_STOP: Sell stop price
OCO_confirmation: After entering the buy limit price
Buy stop price, sell limit price
or sell stop price
Enter OCO_confirmation = "1" (open this EA)
OCO_oCO: If OCO_oCO = "1", one cancels the other
OCO_sL_Pips: Stop loss point
OCO_tP_Pips: Take profit point
Attachment download
📎 oco_ea_smt4s.gif (441.2 KB)
📎 oco_ea.mq4 (8.4 KB)
Source: MQL5 #22009
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •