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

2016.05.16 11:31

Disaster - expert for MetaTrader 4

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

votes: 9
disaster.mq4 (5.52 KB)view


It is based on the observation, which shows that the price crosses the MA chart quite often and moves a certain distance further. It places a pending order (Buy Limit or Sell Limit) at the price equal to the value of МА(590-М1). When the price changes, the MA value changes, the order is also modified, and so on until the order is triggered.

Once the order is triggered, it is not modified. Exit – by tight ТР and SL. As soon as the EA «sees» that there are no orders, it places a new pending order. As it often happens that the price only touches the MA and does not go further, I chose the SL small enough - 30 points. Level of TP=70.


Since the original version is not available, I had to restore the source text from a later version.
And even though I am sure I prevailed, there is a small possibility that I forgot to fix something.

Translated from Russian by MetaQuotes Software Corp.
Original code:

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.

TP-SL_Removing TP-SL_Removing

Immediately deletes the SL/TP of all positions.

Closed_TOTAL Closed_TOTAL

Total closure of all positions (winners/losers). You can also select which are of a single instrument.