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

The Moving Average Class - bibliothèque pour MetaTrader 5

Vues:
4519
Note:
(36)
Publié:
2014.04.15 16:40
Mise à jour:
2016.11.22 07:32
\MQL5\Indicators\
line.mq5 (3.45 KB) afficher
\MQL5\Include\
csmooth.mqh (2.62 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Uses the idea of ​​the classical moving average smoothing. The class can be used when you want to smooth out any array of type double without using the standard indicator.

The class sample requires the following:

  • Fill in the array double in_mas[];
  • Set the values of the variables int in_period (smoothing period), int in_dim (array size);
  • Perform the procedure ini() to initialize the arrays;
  • Perform the procedure void zap_mas2(), which forms a smoothed array double out_mas[].

An example of using the class is available in the indicator line.mq5

CSmooth class demo MQL5

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

AroonOscillator_HTF AroonOscillator_HTF

The AroonOscillator indicator with the timeframe selection option available in input parameters.

BlauSMStochastic_Signal BlauSMStochastic_Signal

The BlauSMStochastic_Signal indicator shows information on the current trend using the values of the BlauSMStochastic indicator with a fixed timeframe.

NxBreakout NxBreakout

The indicator draws support and resistance lines, which are defined by the maximum and minimum for the last N bars.

NxBars NxBars

A semaphore signal indicator with a prediction.