Relative Vigor Index — the bar's body over its range, on the theory that a
rising market closes near its high. Both halves are smoothed by swma
(the fixed 4-bar 1/2/2/1 kernel) before being summed, so a single wide bar
cannot swing the reading on its own.
Warmup stacks: 3 bars for the swma, length more for the sum (index 12 on
the defaults), then 3 more for the signal's own swma.
The reference offset input displaces both plots. The library has no per-plot
offset, so it is a real shift of the columns instead — see shifted.
Relative Vigor Index — the bar's body over its range, on the theory that a rising market closes near its high. Both halves are smoothed by
swma(the fixed 4-bar 1/2/2/1 kernel) before being summed, so a single wide bar cannot swing the reading on its own.Warmup stacks: 3 bars for the
swma,lengthmore for the sum (index 12 on the defaults), then 3 more for the signal's ownswma.The reference
offsetinput displaces both plots. The library has no per-plot offset, so it is a real shift of the columns instead — seeshifted.