Accumulative Swing Index
By LuxAlgoApr 12, 2026
Accumulative Swing Index is the library's first faithful build of Wilder's Accumulative Swing Index: the per-bar Swing Index is built from two bars of OHLC and summed into the ASI line, with the limit-move divisor supplied by a 14-period ATR or a fixed contract value. Around the line it adds swing levels, automatic trendlines and breakout validation against price.
Swing points confirm with 10 bars on each side, on price and on the ASI alike. The latest ASI swing high and low are held as levels, and every price breakout is graded against them.
How to Trade the Accumulative Swing Index?
- Confirmed Bullish Breakout / Confirmed Bearish Breakdown: price crosses its prior swing extreme with the ASI beyond its own, the validated break.
- Suspect Bullish Breakout / Suspect Bearish Breakdown: price breaks out alone; treat with suspicion.
- ASI trendline breaks: dashed lines join falling ASI highs and rising ASI lows; breaks there often lead the same break on price.
- Divergence lines: price sets a fresh swing extreme that the ASI refuses to match.
Accumulative Swing Index Settings
- Limit Move (T) (default ATR-Based): the formula's divisor; Fixed Value reproduces the original futures usage, ATR-Based suits markets without price limits.
- ATR Length (default 14): ATR window used in ATR-Based mode.
- Fixed Limit Move (default 300): constant divisor; set it to the contract's limit move.
- Swing Length (default 10): bars each side to confirm swing points on price and the ASI.
- Show ASI Swing Levels (default on): keeps the latest ASI swing high and low in the pane.
- Breakout Markers (default off): plots the confirmed and suspect marks; alerts fire either way.
- ASI Trendlines (default on) and Divergence Lines (default off): the two automatic drawing layers.
Frequently Asked Questions
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.

