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

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

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

Views:
22155
Rating:
votes: 5
OCO_EA.mq4 (8.4 KB)view

Description:

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

Accelerator Oscillator (AC) Accelerator Oscillator (AC)

The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.

Average Directional Movement Index (ADX) Average Directional Movement Index (ADX)

The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

LinesProfitLoss LinesProfitLoss

Calculates profit (loss) of the current orders on the symbol.

FFC - Forex Factory Calendar FFC - Forex Factory Calendar

Modified version of FF Calendar Indicator with new features.