MOMENTUM & OSCILLATORS

Relative vigor index

Is the close finishing strong inside its candle?

spec id: rvioutputs: line · signallength (default 10)

What does Relative vigor index measure?

Is the close finishing strong inside its candle? Sustained positive readings mean buyers are closing every session near the top.

How is Relative vigor index calculated?

For each candle take the close minus the open, and the high minus the low, and smooth both across four candles. Add up the last 10 of each, then divide the first total by the second. `signal` smooths the line again over four candles.

Written by reading the engine’s real computation, not a textbook — where the two differ, the page describes what actually runs.

How do I use Relative vigor index in a bot?

In the builder, add an indicator of type rvi (parameters: length, default 10). Its output series — line, signal — become operands you can compare in any entry or exit rule. The engine grades the whole rule honestly: real fills, no look-ahead, half the history held back.

Related indicators

Or browse all 158 indicators in the full library.

Build a bot that trades on Relative vigor index — the first backtest is free.

Run a free backtest