Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Twitter !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

Exp_breakeven_trailing_SL - expert pour MetaTrader 5

Vues:
11634
Note:
(59)
Publié:
2015.12.04 11:43
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

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.

Traduit du russe par MetaQuotes Ltd.
Code original : https://www.mql5.com/ru/code/14300

Background_DotsCandle_HTF Background_DotsCandle_HTF

The indicator draws DotsCandle indicator candlesticks of a higher timeframe as color filled rectangles using DRAW_FILLING buffers.

DotsCandle DotsCandle

The Dots indicator implemented as a sequence of candlesticks. Candlesticks appear as a result of relevant price timeseries processed by the Dots algorithm.

LinearMomentum LinearMomentum

A variant of the Momentum indicator with volumes and time used in its calculations.

fractal_dimension_HTF fractal_dimension_HTF

The fractal_dimension indicator with the timeframe selection option available in the input parameters.