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
Bibliothèque

Trading signals module based on Heiken_Ashi_Smoothed indicator - bibliothèque pour MetaTrader 5

Vues:
8498
Note:
(24)
Publié:
2012.02.24 14:18
Mise à jour:
2023.03.29 13:44
\MQL5\Experts\ \MQL5\Include\Expert\Signal\MySignals\ \MQL5\Include\ \MQL5\Indicators\
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The signal is formed when a bar is closing. The moment, when a candlestick formed by Heiken_Ashi_Smoothed changes its color, indicates the time for market entry.

Place Heiken_Ashi_Smoothed.ex5 compiled file to the terminal_data_folder\MQL5\Indicators.

Creation of a trading robot based on this trading signals module has nothing special in it. It has been described in details in the article "MQL5 Wizard for Dummies". The general idea of creating a trading signals module has been described in the article "Simple Trading Systems Using Semaphore Indicators".

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. Deals examples on the chart

Fig.1. Deals examples on the chart

Testing results for 2011 at XAUUSD H4:

Fig.2. Test results chart

Fig.2. Test results chart

Note:

The Expert Advisor generated using MQL5 Wizard chooses the moments for opening and closing positions based on the results of the "voting" of trading signals added during the Expert Advisor creation. The main trading signals module (containing all added ones) also takes part in the "voting" but its LongCondition() and ShortCondition() methods always return 0.

Since the smoothing by the number of present modules (basic one + one additional module) is performed during the "votes" calculation, threshold values should be indicated considering this fact. For this reason, Signal_ThresholdOpen and Signal_ThresholdClose values must be set to 40=(0+80)/2 and 20=(0+40)/2, respectively, after creation of the Expert Advisor code using MQL5 Wizard.

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

Trading signals module based on Go indicator Trading signals module based on Go indicator

Trading signals module for MQL5 Wizard. Go indicator's color arrow serves as a market entry signal.

Trading signals module based on Sidus indicator Trading signals module based on Sidus indicator

Trading signals module for MQL5 Wizard. Sidus indicator's color arrow serves as a market entry signal.

Trading signals module based on SuperTrend indicator Trading signals module based on SuperTrend indicator

Trading signals module for MQL5 Wizard. SuperTrend indicator's color dot serves as a market entry signal.

Trading signals module based on ASCtrendSignal indicator Trading signals module based on ASCtrendSignal indicator

Trading signals module for MQL5 Wizard. ASCtrendSignal indicator's color dot serves as a market entry signal.