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
Indicateurs

Channel design indicator - indicateur pour MetaTrader 5

Vues:
8335
Note:
(23)
Publié:
2018.11.08 21:03
WDOZ18M30.png (17.22 KB)
WINZ18M15.png (16.9 KB)
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

  • Application

The indicator can be utilized into any symbol or timeframe, there are no restrictions.

  • Inputs

For the creation of the channel are required the definition of two inputs:

//--- input parameters
input int barsChannel = 200; // Channel creation length
input int barsMulti   = 5;   // Channel bars to peak/valley

The "barsChannel" input defines the length of the channel that will be created, or, in other words, the number of bars that composes the channel.

The "barsMulti" input represents the amount of bars that are taken into account for the evaluation of peaks and valleys. The total number of bars that are considered in this evaluation is equal to 'barsMulti*2 + 1' (e.g. if barsMulti = 2, the total number of bars considered is 5).

Parameterization

Figure 1. Parameterization

  • Remarks

Two indicator buffers are defined, one per trendline. The resistance buffer index is set as '0', while the support buffer index is set as '1'. Remember to consider this during the indicator reading process.

//--- indicator buffers mapping
   SetIndexBuffer(0,resiBuffer,INDICATOR_DATA);
   SetIndexBuffer(1,suppBuffer,INDICATOR_DATA);
Perfect trend line Perfect trend line

Perfect trend line

TRiX TRiX

TRiX

Ehlers Fisher transform (original) Ehlers Fisher transform (original)

Ehlers Fisher transform (as originally described in the book)

Triangular moving average Triangular moving average

Triangular moving average