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:
17775
Note:
(38)
Publié:
2013.01.07 15:45
Mise à jour:
2016.11.22 07:32
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

It differs from fractals indicator in the following:

  • allows drawing fractals with any number of bars on either side of the fractal;
  • allows drawing the so-called asymmetric fractals by displaying different number of bars on the left and the right of the extremum.

The fractal with sides 10 (left) and 5 (right):

X-bars Fractals (leftSide =10, rightSide = 5)

Recommendations:

  • The indicator with a large parameter sides perfectly defines global minimum / maximum, which can be a significant support / resistance levels, as well as be one of the points ro draw trend lines (which, for example, was used in the indicator of automatic trend lines);
  • Asymmetric parameters are good for filtering out the fractals which are unlikely to be local minimums / maximums. To make sure you can compare, for example, the parameters of (2, 2), which are identical to the standard fractals, and the parameters of (7, 2).

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

The example of the work with the CSV file as with a table The example of the work with the CSV file as with a table

The CSV file was written to write economic news but there was a problem that the Terminal does not distinguish lines, exactly their number when working with the CSV file. That is why I decided to share my solution of this problem.

The simplified class of the CArrayRing256 ring buffer The simplified class of the CArrayRing256 ring buffer

The class is the simplified version of the CArrayRing class: it has a predetermined fixed size of 256 elements, it is faster, and allows to organize the mini time series, indicator minibuffers, short sized buffers to store intermediate stream data inside the Expert Advisor or indicator.

DecEMA DecEMA

The Moving Average that represents itself a linear combination of the EMA smoothing series by the Exponential Moving Average (EMA).

The class for drawing the RSI using the ring buffer The class for drawing the RSI using the ring buffer

The class is designed for calculation of a technical indicator Relative Strength Index (Relative Strength Index, RSI) using the algorithm of the ring buffer.