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
Experts

Elementary trailing stop - expert for MetaTrader 4

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

Views:
3235
Rating:
votes: 12

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

PinBar PinBar

The indicator marks the pin bars on the chart based on the parameters set.

Forex Fraus (for M1) Forex Fraus (for M1)

The Expert Advisor is based on the Williams Percent Range indicator. It sells in the overbought zone and buys in the oversold zone. Trailing Stop and operation timer are attached to it.

OrderTimeAlert OrderTimeAlert

The Expert Advisor watches the market orders and generates a sound signal after a predefined time from the moment of order opening.

Detection of the divergences Detection of the divergences

The lookup and display of the divergences of different classes based on the data of the base indicator.