GRI
Indicator
The Gopalakrishnan Range Index (GRI) divides the log of the high-low range over the last 14 bars by the log of 14. A bar with no range is left empty.
Jayanthi Gopalakrishnan, Range Index, Technical Analysis of Stocks & Commodities, January 2001. Reviewed by the ChartLabs team, updated Nov 2026.
GRI is 2.822.
GRI 2.822
GRI is 2.822.
GRI 2.822
Illustration on simulated data.
Gopalakrishnan Range IndexWhat is the GRI indicator?
Length is 14, from 1 to 5,000. The line is #9598a1, 1 px, in its own panel, fixed at 3 decimals. The window is partial from the first bar, so a chart does not wait 14 bars for a print.
One bar, high 11 and low 9, is log(2) / log(14), which is 0.2626. The next bar, high 12 and low 9, widens the window to a range of 3 and prints 0.4163. The panel rounds those to 0.263 and 0.416. A bar whose high equals its low is empty, because the log of 0 is not a number. Length 1 is also empty, because the log of 1 is 0 and the kernel will not divide by it.
The full name is the Gopalakrishnan Range Index. The value depends on the price unit, and it can be negative when the range is smaller than 1, as on many forex pairs. The natural log and a common log give the same ratio.
Partial window
Before 14 bars exist, the highest high and lowest low use the bars so far. The divisor stays log(14).
The colour
#9598a1, the same neutral grey as RIND, not #999999.
GRI signalsFour patterns to know.
A wider window
The second bar is 0.4163 because the range grew from 2 to 3. A wider range lifts the log.
A tiny range
A range below 1 makes the log negative, so GRI can print below zero. That is the formula, not a downtrend flag.
Range against the length
0.2626 is a 2-point range measured in units of a 14-bar length. It is not a price direction.
No range at all
High equal to low leaves the bar empty. The line breaks rather than plunging.
GRI formulaHow it is calculated.
Find the range
Highest high minus lowest low over the bars so far, up to Length.
Divide the logs
Log of that range, divided by log of Length. The first bar of the example is 0.2626.
Leave the bad cases empty
A range of 0, or a length of 1, does not plot. The second bar, range 3, is 0.4163.
GRI settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Length | 14 | 1 to 5,000 | The window, and the number inside the lower log. A value of 1 plots empty. |
| Line | #9598a1 | Fixed | One line, 1 px, 3 decimals. |
| Zero range | Empty | Fixed | High equal to low writes no value. |
- Setting
- Length
- Default
- 14
- Range
- 1 to 5,000
- What it changes
- The window, and the number inside the lower log. A value of 1 plots empty.
- Setting
- Line
- Default
- #9598a1
- Range
- Fixed
- What it changes
- One line, 1 px, 3 decimals.
- Setting
- Zero range
- Default
- Empty
- Range
- Fixed
- What it changes
- High equal to low writes no value.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
GRI strategiesUse it in 3 setups.
Read the two-bar step
Traders often compare that with ATR if they want the range in price instead of in log units. The panel shows 0.263 and 0.416.
A forex range under 1
GRI can sit below zero. That is the price unit, not a signal to sell.
Skip a dead bar
There is no log of zero to draw.
GRI mistakesCommon mistakes.
Using a length of 5 because a short write-up did
This kernel's length is 14. Length 1 is refused, because log(1) is 0.
Calling a negative print a downtrend
On a pair that moves in fractions of a point, the range is often below 1 and the log is negative.
Waiting 14 bars for the first print
The window is partial. The single bar high 11 low 9 already prints 0.2626.
GRI combinationsPair it with these.
GRI + ATR
ATR is an average true range in price. GRI is a log ratio of the high-low span to the length.
GRI + Bollinger Bands
Bollinger width grows with standard deviation. GRI looks at the raw high and low of the window.
GRI + Average Directional Index
ADX is bounded strength. GRI is unbounded and can be negative.
GRI FAQQuestions traders ask.
What is the GRI setting?
Length 14, from 1 to 5,000. The line is #9598a1. Length 1 plots empty.
What is the worked pair?
High 11 low 9 prints 0.2626. A next bar with high 12 and low 9 prints 0.4163.
What does the panel show?
Three decimals: 0.263 and 0.416.
Why can it be negative?
A range below 1 has a negative log. Forex prices often do that. It is not a direction.
What if high equals low?
The bar is left empty. The log of a zero range is not a number.
Does the line wait for 14 bars?
No. Early bars use the range so far, still divided by log(14).
Does it repaint?
No. A closed bar stays. The live bar moves until it closes, and the window rolls as new bars arrive.
Who published it?
Jayanthi Gopalakrishnan, Range Index, Technical Analysis of Stocks & Commodities, January 2001.
Related indicatorsMore volatility tools.
All volatility indicatorsTry GRI on a live chart.
Free. No download.
Works in your browser and on iPhone too.