RVISignal

Calculates the Signal line of the Relative Vigor Index indicator.

Accepts the following parameters:

Parameter NameTypeDefault ValueNotes
periodNumber10-

Returns: Series<Number>

RVISignal is a built-in function - you can use it directly. Below is an example implementation:

1 function RVISignal(period = 10):
2 rvi = RVI(period)
3 (rvi + 2 * rvi[1] + 2 * rvi[2] + rvi[3]) / 6