charton API / @chart-on/ta / rvi
Function: rvi()
rvi(
open,high,low,close,length,out?):Rvi
Defined in: fisher-rvi.ts:114
Relative vigor index: an sma of length over a 1, 2, 2, 1 weighted 4-bar average of close - open, divided by the same of high - low. The signal line is the same 1, 2, 2, 1 weighting of the index. NaN where the smoothed range is 0. Lookback length + 5 (the index starts 3 bars earlier).
Parameters
open
high
low
close
length
number