Full description
TanHef Ranks
Overview
TanHef Ranks assesses the strength and persistence of price momentum on one chart across shorter and longer lookback periods.
A Rank is a numeric reading of overbought or oversold conditions. Negative values indicate oversold, positive values indicate overbought, and 0 is neutral. Farther from zero means a stronger reading, not a guaranteed reversal.
Reading Ranks
- Small: −1 to −3 oversold; +1 to +3 overbought.
- Medium: −4 to −5 oversold; +4 to +5 overbought.
- Large: −6 or lower oversold; +6 or higher overbought.
These default size categories have configurable thresholds and colors. The chart timeframe and calculation settings determine the lookback periods evaluated.
Extreme flags
By default, ▼ and ▲ mark an Extreme when a Rank reaches or matches its direction’s strongest level so far in evaluated history.
More loaded history can make Extreme flags more selective when it includes older, stronger Ranks in the same direction.
Read the Rank first. Extreme flags add historical context, not extra strength.
Flag symbols, placement, minimum Rank, and event filtering are configurable. The Stronger event filter requires a Rank farther from zero than the previous bar’s same-side Rank.
Rank Occurrences
Rank Occurrences shows how often each displayed Rank occurred in evaluated history, counting positive and negative readings separately. Uncommon Ranks farther from zero can be worth investigating even when they do not qualify as Extremes.
Hover over the summary in TradingView for bar coverage counts and source details. These counts describe historical readings, not successful trades or reversal probabilities.
Multi-timeframe context
The Chart Rank uses the chart timeframe. MTF adds Ranks from up to two other timeframes. Show one separately or combine selected Ranks using Average, Median, Low, or High.
- Lower timeframe (LTF): Uses each direction’s LTF Rank farthest from 0 within the Chart bar.
- Higher timeframe (HTF): Calculates each Chart-bar Rank using confirmed HTF data.
LTF typically evaluates more source bars than the Chart timeframe; HTF typically evaluates fewer. Available history depends on timeframe, session, data, and TradingView limits.
Display and alerts
Display Ranks in an indicator pane or on the price chart. Configure conditions in the indicator, then create the TradingView alert. Alert frequency controls delivery timing, not when a Rank qualifies.
Live bars and historical results
While a bar is open, price can cross several thresholds at once, so a Rank can jump directly from 0 to a stronger reading. Within that same bar, a pullback leaves that side’s established Rank unchanged; only a farther price extreme on that side can strengthen it.
Closed Chart-bar results should remain stable unless the symbol, timeframe, session, settings, data, or loaded history changes. Such changes can also affect occurrence counts and Extreme comparisons.
TanHef Ranks does not confirm reversals or provide automatic entries or exits. Selected historical examples do not establish typical outcomes.



