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.04 11:43
Exp_breakeven_trailing_SL

Exp_breakeven_trailing_SL - expert for MetaTrader 5

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

Views:
2695
Rating:
votes: 31

The Exp_breakeven_trailing_SL Expert Advisor transfers to break-even and/or trails positions on every currency pairs or only on the current one.

Parameters

Adjustable parameters:

1. symbol:
  • The EA works only with current currency pair
  • or with every positions.
2. magic:
  • the EA works with all magic numbers (set -1);
  • only with positions opened by user (set magic to 0);
  • or with positions opened by other Experts (set the corresponding magic).

3. Next come the break-even and trail sizes. If the parameters are set to 0, then the function will not enabled.

It is possible to choose break-even only, trail only, or both. If trail only is chosen, then the first Stop Loss transfer will be similar to break-even transfer.

  • Break-even parameters: plus points — how far the price has to go into the green in order to move Stop Loss by a single step from opening price in step breakeven points
  • Trail parameters: plus points — how far the price has to go into the green from opening price for negative Stop Loss, or from Stop Loss price, if it is in the green, in order to move Stop Loss by a single step in trailing step points.

If plus points of the trail are set less than plus points of the break-even, then break-even is triggered first, trail is triggered later.

Comments describe what is enabled — trail and/or break-even or all off, and also the the currency pair the Expert is working with.

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

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.