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

2015.12.11 16:08

Trailing Stop that can do everything - expert for MetaTrader 4

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

votes: 42

I present you the Trailing Stop that can do everything expected from a trailing stop.

  • It can trail both real and virtual.
  • By points, as usual, by SAR, ATR and MA indicators, by candlesticks and by fractals.
  • It can trail percent of the profit.
  • It can do all of that based on the net breakeven as well as on each order separately.

In the strategy tester the EA opens the order pairs by itself, so that its operation could be seen and understood.

It is even possible to run optimization and develop a new strategy based on it.

Check, test, and if you see something still missing, it will be added!

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.

TypeToBytes TypeToBytes

Byte-wise operation with structures and standard data types.

PriceLines PriceLines

Script for drawing a price markup.