# Pivot High/Low Analysis & Forecast

Marks confirmed pivot highs and lows and quantifies them: percent change between consecutive pivots, bar distance between same-type pivots, and trailing means of both on a chart dashboard. Dashed vertical lines then project when the next pivot is statistically due. A descriptive study for traders who plan around swing cadence.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jul 26, 2021.
- Access: free.
- Concepts: [Swing High/low](https://www.luxalgo.com/library/concept/swing-high-low/) (primary), [Swing Structure Grammar](https://www.luxalgo.com/library/concept/swing-structure-grammar/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmpwn4kcp006dvhsgoemqvwk9
- Page: https://www.luxalgo.com/library/indicator/pivot-high-low-analysis-forecast/

**Pivot High/Low Analysis & Forecast** puts numbers on market swings. Every confirmed [pivot high and low](https://www.luxalgo.com/library/concept/swing-high-low/) is measured for Δ%, the percentage change from the previous pivot, and Δt, the bars elapsed since the last pivot of the same type, with a dashboard tracking the trailing mean of each metric. From those means it projects the time position of upcoming pivots, drawing vertical dashed lines where the next high or low is statistically due.

## How to Trade the Pivot High/Low Analysis & Forecast?

- **Δ% against its mean**: swings larger than the trailing average stand out as significant; smaller ones can be filtered as noise.
- **Δt readings**: the spacing between same-type pivots reveals how regular the market's swing cadence is.
- **Forecast lines**: watch behavior as a dashed projection approaches: a pivot forming on schedule, as in the original release's example, validates the cadence read.
- **Dashboard means**: typical swing size and spacing summarized at a glance for the symbol and timeframe at hand.

The projection itself is transparent: the most recent pivot high's position plus the average distance between pivot highs, and likewise for lows. It reads [swing structure](https://www.luxalgo.com/library/concept/swing-structure-grammar/) descriptively, an analysis and planning layer rather than an execution signal.

## Pivot High/Low Analysis & Forecast Settings

- **Length**: window size for pivot detection; larger values qualify only broader swings.
- **Show Forecasted Pivots**: toggles the dashed projection lines.
- Dashboard options set its location, size, and text/frame colors.

## Frequently Asked Questions

### Can I trade its signals in real time?
That isn't the design: pivots confirm with a lag, and the outputs are descriptive statistics rather than entries. Use it to frame expectations for swing size and timing, and pair it with other tools for execution.

### How does it compare with a ZigZag?
A [ZigZag](https://www.luxalgo.com/library/indicator/zigzag/) connects alternating swing points to draw the legs between them; this tool leaves the pivots in place and quantifies them (magnitude, spacing, and a forecast of the next occurrence) so the two complement rather than overlap.

### How do I access it?
Free of charge in the LuxAlgo Library. Load it into Quant, our coding agent, right here on the page for a closer look. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [Swing Highs/Lows & Candle Patterns](https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/swing-highs-lows-candle-patterns.md
- [Unreached Highs/Lows Oscillator](https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/unreached-highs-lows-oscillator.md
- [Liquidity Sweeps](https://www.luxalgo.com/library/indicator/liquidity-sweeps/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/liquidity-sweeps.md
- [Liquidity Swings](https://www.luxalgo.com/library/indicator/liquidity-swings/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/liquidity-swings.md
- [Price Simplification](https://www.luxalgo.com/library/indicator/price-simplification/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/price-simplification.md
- [Protected Swings](https://www.luxalgo.com/library/indicator/protected-swings/) (Swing High/low): markdown at https://www.luxalgo.com/library/indicator/protected-swings.md
- [Swing Structure Scanner](https://www.luxalgo.com/library/indicator/swing-structure-scanner/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/swing-structure-scanner.md
- [HTF Swing Structure Signals](https://www.luxalgo.com/library/indicator/htf-swing-structure-signals/) (Swing Structure Grammar): markdown at https://www.luxalgo.com/library/indicator/htf-swing-structure-signals.md

---

Source: https://www.luxalgo.com/library/indicator/pivot-high-low-analysis-forecast/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
