I've got a question regarding how NinjaTrader calculates the RVI. I would like to do some additional
research in excel. I assume the following:
1) RVI=StdDev(RSI)
2) RSI= 100 – 100 / ( 1 + RS )
RS = Relative Strength = AvgU / AvgD
AvgU = average of all up moves in the last N price bars
AvgD = average of all down moves in the last N price bars
N = the period of RSI
3) Averaging the Advances and Declines
When calculating the advances and declines. Do NinjaTrader uses the Simple Moving Average or the EMA?
Formulas for SMA:
AvgU = sum of all up moves (U) in the last N bars divided by N
AvgD = sum of all down moves (D) in the last N bars divided by N
N = RSI period
Are these formulas correct or differs NinjaTradres' RVI calculation from that?
Maybe you can state the RVI-formulas (RSI and StDev) which NinjaTrader uses?
Thank you very much and have a nice weekend
Stefan
Comment