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

2013.01.25 15:25
Scripts

One Cancel Other(s) - script for MetaTrader 5

| English Русский 中文 Español Deutsch 日本語 Português

Views:
2802
Rating:
votes: 32

This simple script without parameters is used in cases when, for example, the orders are set on the breakthrough (the breakthrough from boundaries) of the channel and when one order is triggered, the other must be canceled.

Features:

  • The script works only with the orders by the symbol, to which chart it is attached.
  • Supposed that the orders have already been set.
  • Supposed that there is no open positions to the given symbol.
  • When one order is triggered, the script deletes all (!) remaining orders on the current symbol and exits.
  • If the symbol has no pending orders, the script will exit.

Simply said, this script helper is designed for using in manual trade. It does not set orders, but only deletes. Thus the trader has no need to follow the fact of execution of one of the pending orders.

Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1461

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.

Holt's double exponential smoothing trend Holt's double exponential smoothing trend

Holt's double exponential smoothing - the trend component (mt4 version).

Holt's double exponential smoothing (mt4 version) Holt's double exponential smoothing (mt4 version)

Holt's double exponential smoothing with linear forecasting.