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.10 13:32
Elementary trailing stop

Elementary trailing stop - expert for MetaTrader 4

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

Views:
2590
Rating:
votes: 11

Elementary trailing stop able to distinguish its "own" orders among others by comment and/or Magic number. It also distinguishes the financial instrument that needs to be trailed.

Hopefully it will be useful for someone.

The arguments passed to the function:

  • symbol — the symbol of the instrument that needs to be trailed (if empty is passed, current symbol is used).
  • comment — the comment to the order (as an additional key for filtering among orders).
  • magic — the magic number of the order (as a tool for filtering among orders).
  • trail_p — the number of points to trail.

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

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.