Pivot High/Low Analysis & Forecast
By LuxAlgoJul 26, 2021
Pivot High/Low Analysis & Forecast is an indicator on Vela, our next-generation charting platform, written in Pine Script®.
Pivot High/Low Analysis & Forecast puts numbers on market swings. Every confirmed pivot high and low is measured for Δ%, the percentage change from the previous pivot of the same type, and Δt, the bars elapsed since that pivot, with a dashboard tracking the cumulative mean of each metric across every pivot on the chart. 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 cumulative 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 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 line for the next pivot high; the pivot-low projection is drawn regardless of this setting.
- Dashboard options set its location, size, and text/frame colors.
Frequently Asked Questions
Free to use
Run it on Vela. Go further with a paid plan.
- Up to 500 Custom Alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- More Quant usage to customize it, plus extra usage when you need it
- Futures data alongside crypto, stocks, forex and commodities
Also works on
Related indicators
All 26 Swing High/low indicatorsRun it on Vela. Make it yours with Quant.
Open this indicator free on Vela, our next-generation charting platform. Then ask Quant, our coding agent built into Vela, to retune it or turn it into a backtested strategy of your own.





