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
Vues:
6463
Note:
(17)
Publié:
2018.05.04 13:56
Mise à jour:
2018.05.04 13:56
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The index is mainly based on the slope of EMA and MACD, and the following figure shows the principle of the indicator:

Figure 1: How the index works

Figure 1: How the index works

The effect is as follows:

Figure 2: Display of indicators

Figure 2: Display of indicators

Introduction of indicators:

This index is mainly used to check whether the trading direction is correct:

  • Red represents the rise, prohibits the sale, can buy or wait.
  • Green stands for decline, no buying, selling or wait.
  • Blue represents no trend, no prohibition.
  • Trend: when the trend continues, the blue column appears, indicating the tendency is weaker, and the signal of trend reversal is given.

Core code interpretation:

      if((macd_main_buffer[i]-macd_main_buffer[i-1])>0 && (ema_buffer[i]-ema_buffer[i-1])>0)
        {
         Power_buffer[i]=1;//rise signal
         color_buffer[i]=1;
        }
      if((macd_main_buffer[i]-macd_main_buffer[i-1])<0 && (ema_buffer[i]-ema_buffer[i-1])<0)
        {
         Power_buffer[i]=-1;//drop signal 
         color_buffer[i]=0;
        }

Traduit du chinois par MetaQuotes Ltd.
Code original : https://www.mql5.com/zh/code/20598

Triple Jurik Smooth Triple Jurik Smooth

Jurik smoothing is very responsive to price changes, is very smooth and it makes it a very good candidate for this type of trend assessment.

Ultra Trend Ultra Trend

Ultra Trend is one of the well known indicators made for MetaTrader 5 now.

Linear Regression Sketcher Linear Regression Sketcher

A variation of linear regression.

Dynamic Balance Point Dynamic Balance Point

Indicator that calculates dynamic balance point for the desired period.