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
Vues:
4222
Note:
(7)
Publié:
2018.09.27 15:16
STPMT.mq5 (21.08 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The STPMT (Medium Term Weighted Stochastics) indicator.

The indicator has twenty six customizable parameters, of which 24 parameters are four similar blocks of parameters having six input values ​​for each of the four stochastics used for the calculation:

  • Stochastic N %K period - the period of the K line of Stochastic N;
  • Stochastic N %D period - the period of the D line of Stochastic N;
  • Stochastic N Slowing - the slowdown period of Stochastic N;
  • Stochastic N Method - the calculation method for Stochastic N;
  • Stochastic N Price field - stochastic N calculation price type;
  • Stochastic N Weight - the weight of stochastic N;
  • ...
  • Signal line period - signal line period;
  • Show components - show data of stochastic indicators used for calculation.

Calculations:

STPMT = (Stoch 1 Weight * St1 + Stoch 2 Weight * St2 + Stoch 3 Weight * St3 + Stoch 4 Weight * St4) / SumWeight

where:

SumWeight = Stochastic 1 Weight+Stochastic 2 Weight+Stochastic 3 Weight+Stochastic 4 Weight
St1 = Stochastic(Stoch 1 Price field, Stoch 1 %K period, Stoch 1 %D period, Stoch 1 Slowing, Stoch 1 Method)
St2 = Stochastic(Stoch 2 Price field, Stoch 2 %K period, Stoch 2 %D period, Stoch 2 Slowing, Stoch 2 Method)
St3 = Stochastic(Stoch 3 Price field, Stoch 3 %K period, Stoch 3 %D period, Stoch 3 Slowing, Stoch 3 Method)
St4 = Stochastic(Stoch 4 Price field, Stoch 4 %K period, Stoch 4 %D period, Stoch 4 Slowing, Stoch 4 Method)

Fig. 1. Medium Term Weighted Stochastics

Fig. 1. Medium Term Weighted Stochastics

Fig. 2. Medium Term Weighted Stochastics + data of Stochastics used

Fig. 2. Medium Term Weighted Stochastics + data of Stochastics used

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

Forex Fraus M1 Forex Fraus M1

An Expert Advisor based on the iWPR (Williams' Percent Range, %R) indicator with the operation time control.

Trading_Channel_Index Trading_Channel_Index

The Trading Channel Index oscillator displayed as a color histogram.

VPCI VPCI

The VPCI (Volume Price Confirmation) indicator shows the relationship between the price and the volume.

Williams_Thrust Williams_Thrust

The signal and information indicator Williams Thrust is based on two Williams' Percent Range indicators with different periods and their average values.