All indicators

Pivot Based Trailing Maxima & Minima

By LuxAlgoMar 14, 2022

Static chart image

Pivot Based Trailing Maxima & Minima tracks the running maximum and minimum of price, resets each trail when a pivot high or low confirms, and plots the average the two produce. Anchoring the resets to swing highs and lows turns raw extremes into a stepped map of past and present support and resistance: levels tied to the places reversals actually formed.

How to Trade the Pivot Based Trailing Maxima & Minima?

  • Trailing maximum stepping higher: consecutive new highs in the trail confirm an uptrend.
  • Trailing minimum stepping lower: persistent new lows mark a downtrend.
  • Neither trail advancing: no fresh extremes suggests a ranging market.
  • The average line: the midpoint of the two trails highlights the support and resistance the tool is built around.

The cadence of new extremes is itself a read on trend strength: frequent new highs speak to sustained buying pressure, sparse ones to a tiring move. Within the broader family of trailing methods, resetting at structure rather than by a fixed offset is what keeps these levels aligned with the swings that matter.

Pivot Based Trailing Maxima & Minima Settings

  • Length: the pivot high/low lookback; increase it to reset only at longer-term tops and bottoms.
  • Backpaint: offsets the plotted results into the past so they align with the price action that produced them; outputs remain extended to the latest bar.

Frequently Asked Questions

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5
Original indicatorBuilt in-house by LuxAlgo

The Library is free. Quant makes it yours.

Pull any concept or indicator into Quant: rebuild it, retune it, or turn it into a backtested strategy of your own.