True Range (TR): Complete Guide for Algorithmic Trading

The True Range (TR) is a volatility measure that captures the full extent of price movement in a single trading period, including any price gap from the previous session’s close. It is the raw calculation behind the widely-used Average True Range (ATR) indicator and a building block for dynamic stop-loss and volatility-regime logic.

What Is the True Range?

True Range is a price range measure developed by J. Welles Wilder as the foundation for ATR. It answers a precise question: how far did price actually travel during this period, including any gap from where it last closed?

Standard high-low range only measures the distance between the current period’s high and low. True Range extends this to capture overnight gaps and session opens that jump away from the previous close. In a market where price gaps are common — or in crypto, where large moves can happen between candles — the standard high-low range understates actual price movement. True Range corrects this.

According to Investopedia, True Range is defined as the greatest of three values calculated for each period.

How Does True Range Work?

For each candle, True Range takes the largest of three measurements:

All three distances are treated as absolute values — direction does not matter. True Range always produces a positive number representing the maximum price movement in that period, regardless of whether it was an up candle or a down candle.

In Arrow Algo, the TR block takes high, low, and close as inputs and outputs a single TR value per candle. No configuration is needed beyond connecting the correct data feeds from a Data Watcher block.

How to Read True Range Signals

A single True Range reading tells you how large the current candle’s range was, adjusted for any gap. On its own, this is useful primarily for context — a large TR on a key price level adds weight to what just happened there.

True Range becomes more powerful when compared to recent history. When the current TR is significantly higher than recent candles, the market has made an unusually large move. This could indicate a news event, a liquidation cascade, or the opening of a trending move. When TR is consistently low, the market is compressing — a condition that often precedes a sharp move in either direction.

Most systematic traders use TR as the input to ATR rather than in isolation. ATR smooths TR over a lookback period to provide a stable reading of typical volatility. The relationship between current TR and recent ATR is the signal — not the TR value alone.

What Are the Best True Range Trading Strategies?

Volatility regime detection: Compare each candle’s TR to a recent average. When TR spikes well above average, the market has shifted into a high-volatility regime. Systematic strategies can reduce position size, pause new entries, or switch to wider exits during these conditions. When TR contracts below average, the market is quiet — conditions that suit mean reversion setups or tighter entry criteria.

Breakout confirmation: A TR expansion on a breakout candle adds conviction to the signal. If price breaks a key resistance level and the True Range on that candle is significantly larger than the recent average, the move is more likely to be genuine rather than a false breakout driven by low liquidity.

Dynamic stop-loss sizing: Set stops as a multiple of the current True Range rather than a fixed percentage. A stop placed at 1.5× TR gives the trade room proportional to current market behaviour — wider in volatile conditions, tighter when price is quiet. This prevents stops from being too tight during fast markets and too wide during slow ones.

What Are Common True Range Mistakes to Avoid?

Reading TR in isolation: A single True Range value has limited meaning without context. The number only becomes useful when compared to recent TR history or an ATR baseline. Always ask: is this large or small relative to what’s typical?

Treating TR as directional: True Range measures the size of price movement, not the direction. A large TR candle could be a sharp rally or a sharp drop. Combine TR with trend or momentum indicators before drawing any directional conclusions.

Confusing TR with ATR: True Range is the raw single-period measurement. ATR is the smoothed average of TR over a set period, typically 14. ATR is more stable and more commonly used in live strategy logic. TR is the building block — it feeds into ATR rather than replacing it in most applications.

Ignoring the gap component: The defining feature of True Range is its inclusion of gaps. If you are working with data sources that do not capture closing prices accurately — or on very short timeframes where gaps are rare — TR and standard high-low range will produce similar results. On higher timeframes and around major events, the gap component matters significantly.

How to Build True Range Strategies in Arrow Algo

Arrow Algo includes a dedicated TR block in its visual builder. Connect the high, low, and close outputs from a Data Watcher block into the three TR inputs. The block outputs a single True Range value for each candle, which can then feed into any downstream logic.

A simple volatility filter: connect the TR output to a condition block and compare it against a fixed threshold using a fix_number block. When TR exceeds that threshold, block new entries or reduce position size. This gives your strategy a built-in circuit breaker for unusually volatile candles — no coding required.

For dynamic stops, multiply the TR output by a fix_number block set to your preferred multiplier (1.5 or 2 are common starting points). Use the result as the stop distance in your exit logic. The stop will automatically widen during fast markets and tighten when price quiets down, matching the stop to actual market conditions rather than a fixed assumption.

Key Takeaways

Disclaimer: This content is for educational purposes only and does not constitute financial advice. Trading involves significant risk and you should only trade with capital you can afford to lose. Past performance is not indicative of future results. Always conduct your own research before making any trading decisions.

Ready to build your own automated trading strategies without writing a single line of code? Start for free at Arrow Algo and join thousands of traders who’ve made the switch to systematic trading.