Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2011.04.01 08:31

Place OCO Order, One pip Limit Order and One Pip Stop Order - expert for MetaTrader 4

| English Español Português 日本語 Deutsch

votes: 5
OCO_EA.mq4 (8.4 KB)view


Places One-Cancels-the-Other Order (OCO Order), One pip Limit Order and One Pip Stop Order on MetaTrader 4 (MT4) platform.

Global variables:

  • OCO_BUY_LIMIT - Buy Limit Price
  • OCO_BUY_STOP - Buy Stop Price
  • OCO_SELL_LIMIT - Sell Limit Price
  • OCO_SELL_STOP - Sell Stop Price
  • OCO_confirmation - After input Buy Limit Price, Buy Stop Price, Sell Limit Price or Sell Stop Price set OCO_confirmation = "1"
  • OCO_lots - Lots
  • OCO_oCO - if OCO_oCO = "1", One Canel Others
  • OCO_sL_Pips - Stop Loss Pips
  • OCO_tP_Pips -Take Profit Pips

MTrainer Strategy Tester MTrainer Strategy Tester

Backtest your ideas in ST with simple order initiation. 100% visual, no typing, just drop a horizontal line on the chart to order! Focus on your indicators and trade with ease. Has SL and TP lines as well as PC line for partial close. Externals: BSRa

EMAplusWPRv1_1 EMAplusWPRv1_1

Expert advisor that trade in the trend of EMA and buy/sell signals get from Williams %R


Wonderful for scalpers

X trail 2 X trail 2

Alerts you whenever there is a moving average cross