3 min · 728 words · Updated MAY 6, 2026
Technicals · Long-form

Indexes of Lowest & Highest Values (ILV & IHV)

The Time-Stamp Duo That Ages Your Market Peaks and Troughs Learn the formula, key examples, and how investors use it in practice.

indexes of lowest & highest values (ilv & ihv) — editorial hero illustration
The 90-second answer
There is nothing new on Wall Street or in stock speculation. What has happened in the past will happen again and again.
Jesse Livermore
Legendary Stock Trader · Reminiscences of a Stock Operator · 1923

What These Indexes Tell You

  • IHV (N): “How many bars ago did the highest high of the last N bars occur?”

  • ILV (N): “How many bars ago did the lowest low of the last N bars occur?”

Both return an integer from 0 to N − 1 every bar:

ReadingMeaning
0Today just set a fresh extreme.
5The extreme happened 5 bars back.
N − 1The extreme is old (first bar of window) and may roll off next bar.

Key benefit: adds the time component to simple HHV/LLV levels, letting you gauge the freshness vs. staleness of recent peaks and troughs.

One-Line Formulas

(Formula — visualization pending)

Where

  • HHH = High price series, LLL = Low price series

  • NNN = look-back window (e.g., 20 bars)

  • Result is 0 (current bar) … N − 1 (oldest in window).

No smoothing, weighting, or lag — pure index lookup.

Practical Interpretation

ScenarioIHVILVMessageTypical Action
Fresh upside breakout0> some valueBulls just printed a new N-bar highConsider long entry / add to winners
Prolonged down-trend> N/2≤ 3Lows keep refreshing, highs are staleStay short; avoid early bottom-picking
Aging range floor> N/2N − 1Low is about to roll off windowIf no new low forms, support may lift; prep for bounce
Diverging extremes00Simultaneous new high & low (large range bar)Expect volatility; wait for follow-through

Core Use-Cases

Use-CaseHow ILV & IHV Add Edge
Breakout FiltersEnter only when price breaks HHV/LLV and the corresponding index = 0 (confirms freshness).
Time-Based Trailing StopsExit a long if ILV < threshold or IHV hasn’t reset for X bars (trend stalling).
Mean-Reversion EntriesFade highs if IHV is large (peak is old); fade lows if ILV is large (trough is old).
Volatility Compression SignalsApply indexes to ATR or Volume to spot “old” extremes → upcoming expansion.

Parameter Guidance

N LengthCapturesSuitable For
5 – 10 barsMicro swingsScalping, 1-min / 5-min
20 – 55 barsMonthly trading cyclesDaily swing trades
100 – 252 barsAnnual extremesWeekly position trades, 52-week scans

Rule of thumb: align NNN with the market rhythm you actually trade.

Strategy Templates

  • A │ Turtle-Style Breakout with Time Filter
  1. HHV (20) & IHV (20) on highs.

  2. Long only if close > HHV and IHV = 0.

  3. Exit if ILV(10) = 0 (new 10-bar low) or IHV > 10 (no new high for 10 bars).

  • B │ Aging-Low Reversion
  • In a down-move, ILV > 15 (with N=20N=20N=20) signals the low is getting stale.

  • Pair with bullish RSI divergence; target mean back to 20-EMA.

  • C │ Volatility-Squeeze Breakout
  • Compute IHV/ILV on ATR(14).

  • If both indexes > N − 3 (old extremes in ATR), volatility contracted → prep for range break in price.

Strengths & Limitations

StrengthsLimitations
Zero-lag age info for peaks & troughsSensitive to one-bar spikes (filter with ATR/volume)
Enhances exits & breakout freshnessDescriptive only — needs other signals for entries
Works on any series (price, volume, indicators)Quick flips in noisy data; tune N to cut churn

Implementation Checklist

  1. Select series (High/Low, indicator, volume).

  2. Choose N aligned with timeframe.

  3. Test thresholds (e.g., exit if index > 10).

  4. Combine with HHV/LLV bands, momentum, or volume filters.

  5. Automate alerts for index reset (0) and “stale” crossings.

  6. Review quarterly — adjust N if volatility regime shifts.

Bottom Line

The Indexes of Lowest & Highest Values transform static support/resistance into a stopwatch — revealing how fresh or how stale the market’s extremes really are. Layered onto breakout, trend-following, or mean-reversion systems, they sharpen timing, tighten risk, and keep you trading the current edge instead of yesterday’s news.

Watch the time-stamps on those peaks and troughs, and keep your trades rock-solid.

Printed candlestick chart annotated with hand-drawn indexes of lowest & highest values (ilv & ihv) pattern markers on an analyst desk.
Q · 01
What is Indexes of Lowest & Highest Values?
A · TL;DR
Indexes of Lowest & Highest Values is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.
Q · 01What is Indexes of Lowest & Highest Values?+
Indexes of Lowest & Highest Values is a financial concept covered in this article. Read the full guide above for the definition, formula, examples, and how investors apply it in practice.
Trading-desk artifact representing indexes of lowest & highest values (ilv & ihv) — textbook page and bull-or-bear desk sculpture.