Swing Index
By LuxAlgoApr 21, 2026
Swing Index computes Wilder's per-bar reading as published, then solves its one modern problem: the scale. The Swing Index folds the close-to-close change, both bars' open-close positions and the dominant excursion from the prior close into one signed number, scaled by the limit move T that his era's futures exchanges provided and most modern markets do not. Auto mode in this first faithful build sets T to the highest excursion over a lookback, so the largest recent swing reads near the extremes; the line colors by sign over a gradient fill, framed by dashed strong-swing levels.
How to Trade the Swing Index?
- Sign: above zero the net two-bar change is bullish, below zero bearish. Zero crossings carry alerts both ways.
- Strong swings: readings beyond the Strong Swing Levels mark single bars doing unusual directional work, with crossing alerts on each side.
- Breakout validation: a fresh high over the Breakout Lookback met by a strong positive reading fires Validated New High, Wilder's argument that the extreme is genuine rather than a spike; the mirrored check covers new lows.
Where no limit move exists T is a convention, so the sign and the relative size of readings do the work. The effective T is exposed in the data window.
Swing Index Settings
- Limit Move (T) (default Auto (Highest Excursion)): how the scaling factor is set; Fixed Value uses the entered constant.
- Fixed Limit Move Value (default 1.0): T in price units for Fixed Value mode.
- Auto Scaling Lookback (default 252): bars inspected for the highest excursion in Auto mode.
- Strong Swing Levels (default 50 / -50): thresholds used by the strong-swing and validation alerts; tune them to the instrument.
- Breakout Lookback (default 20): window defining the new highs and lows the validation alerts test.
Frequently Asked Questions
Free on Vela
Run it on Vela. Go further with a paid plan.
- Up to 500 strategy alerts, with webhook automation
- Up to 10× the chart history of Free
- Orderflow lookback up to full history
- Up to 100,000 monthly credits for Quant to customize it
- Futures data alongside crypto, stocks, forex and commodities
Related indicators
Run 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.





