OPEN-SOURCE SCRIPT

Range Tightening Indicator (RTI)

Updated
The Range Tightening Indicator (RTI) quantifies price volatility relative to recent price action, helping traders identify low-volatility consolidations that often precede breakouts.

Range Tightening is calculated by measuring the range between each bar’s high and low prices over a chosen lookback period.

A 5-bar period is recommended for shorter-term momentum setups and a 15-bar period is recommended for swing trading. An option for a custom period is available to suit specific strategies. The default look back for custom is 50, ideal for longer term traders.

Other Key Features:

Dynamic Color Coding: The RTI line turns green when volatility doubles after a drop to or below 20, flagging significant volatility shifts commonly seen before breakouts.

Low-Volatility Dots: Orange dots appear on the RTI line when two or more consecutive bars show RTI values below 20, visually marking extended low-volatility periods.

Volatility Zones: Shaded zones provide quick context:

Zone 1 (0-5): Extremely tight volatility, shown in red.
Zone 2 (5-10): Low volatility, shown in light green.
Zone 3 (10-15): Moderate low volatility, shown in green.


The RTI indicator is ideal for traders looking to anticipate breakout conditions, with features that highlight consolidation phases, support momentum strategies, and help improve entry timing by focusing on shifts in volatility.

This indicator was inspired after Deepvue's RMV Indicator, but uses a different calculation. Results may vary.
Release Notes
Updating Script to Version 6

also now includes 3 different conditions that can be used in the Pine Screener
-Orange dot trigger
-RTI below 20
-Range Expansion
Chart patternsconsolidationmomentumstrategyollie_allcapsOscillatorsrangetightconsolidationtighteningtightnessVolatility

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer