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:
4208
Note:
(10)
Publié:
2018.06.06 14:30
Repulse.mq5 (14.2 KB) afficher
Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

The "Repulse" oscillator allows finding possible levels of price rebound or rollback from strong levels.

It has two parameters:

  • Repulse period - oscillator calculation period;
  • Signal period - signal line calculation period.

Calculation:

Repulse1[i] = Pos_EMA1[i]-Neg_EMA1[i],
Repulse2[i] = Pos_EMA2[i]-Neg_EMA2[i]

where

Pos_EMA1, Neg_EMA1 - EMA(PosSt1), EMA(NegSt1) with the period of 5*Period1),
Pos_EMA2, Neg_EMA2 - EMA(PosSt2), EMA(NegSt2) with the period of (5*Period2),
PosSt1[i] = 100*(3*Close[i] - 2*MinPrice1 - Open[i])/Close[i],
NegSt1[i] = 100*(Open[i] + 2*MaxPrice1 - 3*Close[i])/Close[i],
PosSt2[i] = 100*(3*Close[i] - 2*MinPrice2 - Open[i-Period2])/Close[i],
NegSt2[i] = 100*(Open[i-Period2] + 2*MaxPrice2 - 3*Close[i])/Close[i],
MinPrice1, MaxPrice1 - the highest and the lowest prices in the range from (i-Period1+1) to i,
MinPrice2, MaxPrice2 - the highest and the lowest prices in the range from (i-Period2+1) to i

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

Psychology_Index Psychology_Index

The Overbought/Oversold Index

Performance_Index Performance_Index

The Performance Index indicator.

Repulse_Divergence Repulse_Divergence

Divergences of the Repulse oscillator.

RSI_With_Step_MA RSI_With_Step_MA

A smoothed RSI.