Return the value of “Chande Momentum Oscillator” technical indicator.
Syntax:
1 |
Chandle[N](price) |
Calculation :
pos positive variation, pos = 0 if variation is negative
neg negative variation, pos = 0 if variation is positive
variation = pos – neg
We calculate Mpos and Mneg the moving average with p days of pos and neg.
Chande momentum oscillator = (Mpos – Mneg) / (Mpos + Mneg) * 100