Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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

Modified Moving Averages - expert pour MetaTrader 5

Publié par:
Vladimir Karputov
Vues:
3524
Note:
(10)
Publié:
2018.06.18 12:36
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Idea by: Gatis.

MQL5 code by: Vladimir Karputov.

A modified EA from the standard delivery: MQL5\Experts\Examples\Moving Average\Moving Average

Parameters "StopLoss" and "TakeProfit" are added. Moreover, if you set parameter "Lots" with a minus, it means that the lot size will never change. For instance, the value of "-0.1" means that the lot of "0.1" will always be the same for all positions.


Input parameters

  • Lots - lot size; if parameter "Lots" is set with a minus, the lot size will always be the same;
  • Maximum Risk in percentage - maximum risk;
  • Decrease factor - decrease factor;
  • Moving Average period - period of indicator Moving Average;
  • Moving Average shift - horizontal shift of indicator Moving Average;
  • StopLoss - Stop Loss;
  • TakeProfit - Take Profit.

If you set Stop Loss or Take Profit to zero, it means that the parameter is disabled.

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

Binario Binario

Working with pending orders Buy Stop and Sell Stop. A channel of two indicators iMA (Moving Average, MA).

BrainTrend2Stop_HTF BrainTrend2Stop_HTF

Indicator BrainTrend2Stop with the timeframe selection option available in input parameters.

DI DI

Oscillator DI (Damping Index) is designed for identifying the damping of the directed market movement.

Difference2 Difference2

Indicator Difference2 shows the difference between the predefined reference prices (Applied price) now and as of N periods ago.