Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
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
Vues:
4596
Note:
(32)
Publié:
2013.12.18 10:50
Mise à jour:
2023.03.29 13:42
\MQL5\Include\ \MQL5\Indicators\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

A trading system that uses the Candle Momentum indicator.

A trade decision is made when the momentum changes direction or at the breakthrough of the zero line. The following input parameter is used for selecting an entry algorithm option:

input AlgMode Mode=twist;      //the algorithm to enter the market

For a correct operation of the EA, place the compiled indicator file BlauCMomentum.ex5 to the terminal_data_folder\MQL5\Indicators.

It should be considered that the TradeAlgorithms.mqh library file is designed to use Expert Advisors by brokers who offer nonzero spread and ability to set Stop Loss and Take Profit simultaneously opening a position. Other variants of this library can be downloaded from https://www.mql5.com/en/code/1578.

Default Expert Advisor's input parameters have been used during the tests shown below. Stop Loss and Take Profit have not been used during the tests.

Fig. 1. The instances of history of deals on the chart.

Fig. 1. The instances of history of deals on the chart.

Testing results for 2012-2013 at EURUSD H4:

Fig. 2. Chart of testing results

Fig. 2. Chart of testing results

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

Exp_BlauCMI Exp_BlauCMI

A trading system that uses the Candle Momentum Index.

BlauDTI BlauDTI

William Blau's Directional Trend Index in the form of a colored histogram.

ColorBlauErgodicMACD ColorBlauErgodicMACD

Ergodic MACD-Oscillator implemented in the form of a color histogram.

MA_3HTF MA_3HTF

Three Moving Averages with three different timeframes on one chart.