Je cherche à développer un indicateur perso à partir du RSI, j’ai d’abord voulu vérifier que je code bien le RSI de Prorealtime et.. raté.
Le résultat est différent du RSI de Prorealtime. J’ai lu sur le forum qu’il y a différent façon de calculer le RSI et que Prorealtime utilise la méthode de Walder:
The very first calculations for average gain and average loss are simple 14-period averages:
First Average Gain = Sum of Gains over the past 14 periods / 14.
First Average Loss = Sum of Losses over the past 14 periods / 14
The second, and subsequent, calculations are based on the prior averages and the current gain loss:
Average Gain = [(previous Average Gain) x 13 + current Gain] / 14.
Average Loss = [(previous Average Loss) x 13 + current Loss] / 14.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue