TanHef Ranks

Full Ranks description.

A detailed reference for what Ranks measures, how to read its outputs, and where its limits are. For a quicker introduction, start with the Ranks overview.

Page updated

Overview

Numeric context for price conditions.

TanHef Ranks organizes configured multi-horizon price and momentum conditions into a discrete numeric scale on a TradingView chart. Negative Ranks identify oversold-side conditions, positive Ranks identify overbought-side conditions, and Rank 0 is neutral.

A reading farther from zero represents a stronger and generally more selective condition. It does not establish the probability, expected return, or direction of the next price move. The number is not a literal count of how many length settings agree.

Ranks identifies conditions to review, not automatic buy or sell signals. See the illustrated Rank-size lesson.

Features

What Ranks provides.

  • Chart Rank: the reading for the active chart timeframe.
  • Multi-timeframe context: up to two selected non-chart timeframe sources, shown or combined according to the chosen MTF Type.
  • Rank Occurrences: counts of readings in the history available to the calculation, not counts of successful trades.
  • Loaded-history Extremes: the strongest oversold- and overbought-side Ranks found so far in available loaded history.
  • Bar Coverage: how much source history was evaluated and how many Chart-bar results it produced.
  • Configurable events and alerts: selected Rank conditions using fixed, style-based, Stronger, or loaded-history Extreme criteria, with user-chosen alert timing.
  • Flexible display: pane and price-chart workflows, tooltips, and an optional Quick Guide.

Practical workflow

Read the condition before acting.

  1. Start with the current Rank: its sign shows the side, and its distance from zero shows strength.
  2. Check Rank Occurrences, Extremes, and Bar Coverage to understand the available history behind it.
  3. Add another timeframe only when it helps answer a specific question.
  4. Choose event and alert conditions, then select when TradingView should evaluate them.
  5. Use the reading alongside independent analysis and personal risk controls, not as an automatic entry or exit.

For setup steps and default Rank-size colours, use the Rank reference.

Event markers

Extreme describes history, not certainty.

By default, an Extreme can appear when a Rank reaches its direction’s strongest reading so far in the loaded Chart history available to that calculation. Ties can qualify again. A −4 may therefore be an Extreme if no stronger oversold-side Rank appeared earlier in that loaded comparison window. It remains weaker than −6 or −8.

The Stronger filter makes a different comparison: it compares the current same-side Rank with the previous bar. Extreme compares it with the strongest same-side Rank found so far in loaded history. Neither marker confirms a price reversal.

See selected historical chart examples and their captions.

Data context

Timeframes and loaded history matter.

The Chart Rank always uses the chart timeframe. Lower-timeframe MTF mode evaluates intrabars within each Chart bar; it does not reproduce every lower-timeframe bar as a separate Chart bar. Higher-timeframe and combined MTF results depend on the selected sources having usable data.

TradingView plan limits, available candles, symbol feeds, sessions, timeframes, and Pine request limits affect the history available to a calculation. Two users may see different older occurrence counts or Extreme events if their loaded history or chart context differs. Bar Coverage makes some of those differences visible.

Changing values

Know what can update.

Ranks use discrete thresholds. A fast move can cross several at once, so the first visible Rank can jump directly from 0 to a larger absolute value. Values on an open Chart bar can update. Within that bar, a pullback does not reduce an established same-side Rank; a farther same-side price extreme can increase it.

Closed Chart-bar results should remain stable when the symbol, timeframe, session, settings, source data, and loaded history stay the same. Changes to those inputs, revised data, or a different loaded range can alter older comparisons, occurrence counts, or event markers.

Existing TradingView alerts retain the script version and settings captured when they were created. Recreate an alert after a script update or configuration change. Read the alert reference.

Limitations

Use Ranks as analysis, not a forecast.

Ranks identifies configured overbought- and oversold-side conditions. It does not confirm a reversal, provide an automatic trade entry, or guarantee a result. Occurrence counts are not win rates or probabilities. Higher absolute Ranks are generally more selective, not necessarily more accurate.

TanHef Ranks and TanHef Ranks Screener use the same Rank language and are provided together under the current TanHef access package. The Screener extends the workflow to a configured list of symbols or comparisons.

Return to the Ranks overview or view access options.