RAVI
Indicator
The Range Action Verification Index is 100 times the gap between a 9-bar and a 14-bar average, divided by the longer average. It never goes negative.
Tushar Chande, Beyond Technical Analysis (1997). Reviewed by the ChartLabs team, updated Nov 2026.
RAVI is 1.535.
RAVI 1.535
RAVI is 1.535.
RAVI 1.535
Illustration on simulated data.
Range Action Verification IndexWhat is the RAVI indicator?
Short length is 9, long length is 14, each from 1 to 5,000. Source is Close. Both are simple averages that wait until the window is full. The line is #999999, 1 px, in its own panel, 3 decimals.
Closes 10, 11, 12 and on up to 23: records 0 through 12 are empty, and record 13 is 15.1515. The short average of 15 through 23 is 19, the long average of 10 through 23 is 16.5, and 100 times 2.5 / 16.5 is 15.1515. The panel shows 15.152.
The line is an absolute gap, so it does not say whether the short average is above or below the long one. A long average of 0 leaves the bar empty. An older row of this name went negative and is not this formula.
Both windows must be full
With the defaults the first number is on record 13, which is long length minus 1.
No sign
A rising market and a falling market with the same gap print the same number.
RAVI signalsFour patterns to know.
Short average pulling away
The example ends at 15.1515 because 19 sits above 16.5. The line would match if 19 sat below 16.5.
Same print on the way down
Direction is not in the number. Read the price if you need the side.
Averages together
A gap of 0 prints 0 once both windows are full. Before that the line is empty, not 0.
A large gap versus the long average
15.1515 means the averages differ by about 15 percent of the long average. It is not a price target.
RAVI formulaHow it is calculated.
Wait for both averages
Simple averages, full windows only. Empty through record 12 at these defaults.
Take the absolute gap
Short minus long, drop the sign, times 100, divided by the long average.
Read record 13
On closes 10 through 23 the value is 15.1515.
RAVI settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Short length | 9 | 1 to 5,000 | Bars in the shorter simple average. |
| Long length | 14 | 1 to 5,000 | Bars in the longer simple average. The line starts when this window is full. |
| Source | Close | Any listed price | The series both averages read. |
| Line | #999999 | Fixed | One line, 1 px, 3 decimals. |
- Setting
- Short length
- Default
- 9
- Range
- 1 to 5,000
- What it changes
- Bars in the shorter simple average.
- Setting
- Long length
- Default
- 14
- Range
- 1 to 5,000
- What it changes
- Bars in the longer simple average. The line starts when this window is full.
- Setting
- Source
- Default
- Close
- Range
- Any listed price
- What it changes
- The series both averages read.
- Setting
- Line
- Default
- #999999
- Range
- Fixed
- What it changes
- One line, 1 px, 3 decimals.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
RAVI strategiesUse it in 3 setups.
Use it as a gap, then look at price
Traders often check whether price is rising or falling, because 15.1515 would look the same if the short average were underneath.
Ignore the empty head
Both averages are not full. That gap is not a reading of zero.
A zero long average
There is nothing to divide by.
RAVI mistakesCommon mistakes.
Reading a negative RAVI
This formula uses the absolute gap. It does not go negative. An older row that did was a different calculation.
Treating the empty bars as zero
Records 0 through 12 are empty. The first print in the example is 15.1515.
Taking 15.1515 as a direction
It is the size of the gap only. The short average happens to be above the long one in this rising series.
RAVI combinationsPair it with these.
RAVI + Average Directional Index
ADX is a bounded strength line with a direction pair beside it on other studies. RAVI is an unbounded percent gap with no sign.
RAVI + EMA
Two EMAs cross and show a side. RAVI uses simple averages and drops the side.
RAVI + ATR
ATR is a range in price. RAVI is a percent of the long average.
RAVI FAQQuestions traders ask.
What are the RAVI settings?
Short length 9, long length 14, source Close. Each length runs from 1 to 5,000. The line is #999999.
What is the worked series?
Closes 10 through 23. Record 13 is 15.1515. Earlier records are empty.
Why is there no sign?
The formula takes the absolute gap. Up and down with the same gap match.
When does the line start?
When the long average is full. At 14 that is record 13.
What if the long average is 0?
The bar is left empty. There is nothing to divide by.
Is a short example with length 2 and 3 the default?
No. A kernel check uses that pair. This page uses 9 and 14, and the number above is for those defaults.
Does RAVI repaint?
No. A closed bar stays. The live bar moves until it closes.
Who published it?
Tushar Chande, Beyond Technical Analysis (1997).
Related indicatorsMore trend tools.
All trend indicatorsTry RAVI on a live chart.
Free. No download.
Works in your browser and on iPhone too.