Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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

Stochastic_ROC - indicateur pour MetaTrader 5

Vues:
5808
Note:
(11)
Publié:
Mise à jour:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Price Rate-of-Change (ROC) indicator based on stochastic.

It has eight input parameters:

  • Stochastic K period - the period of calculating the stochastic %K line;
  • Stochastic D period - the period of calculating the stochastic %D line;
  • Stochastic Slowing - the period of calculating the stochastic Slowing line;
  • Stochastic MA Method - stochastic calculation method;
  • Stochastic Price field - stochastic calculation prices;
  • Stochastic line - stochastic line used for calculating the indicator:
    • Main - main line;
    • Signal - signal line.
  • ROC period - the period of calculating the ROC;
  • Calculation type - type of calculations:
    • Absolute - absolute values;
    • Relative - relative values.

The ROC indicator is not required for calculations, since it is calculated by the indicator itself.

Calculations:

If Type = Absolute Stochastic, then ROC = ((Stochastic(Now) - Stochastic(Prev)),
If Type = Relative Stochastic, then ROC = ((Stochastic(Now) - Stochastic(Prev)) / Stochastic(Prev))*100

ROC:

ROC = ((CLOSE (i) - CLOSE (i - n)) / CLOSE (i - n)) * 100
CLOSE (i) - the price of closing the current bar;
CLOSE (i - n) - the close price n bars ago;

Fig.1. Stochastic ROC Absolute

Fig.1. Stochastic ROC Absolute

Fig.2. Stochastic ROC Relative

Fig.2. Stochastic ROC Relative

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

Stochastic_MACD Stochastic_MACD

Stochastic MACD.

Stochastic_Slow Stochastic_Slow

Slow Stochastic.

Impulse Impulse

Impulse Indicator - Count of Points Passed.

GoldWarrior02b GoldWarrior02b

This EA uses indicators iCCI (Commodity Channel Index, CCI), ZigZag, and Impulse. Position trailing is possible.

Ce site web utilise des cookies. En savoir plus sur notre politique de cookies.