A correction can be deep without creating a new trend, and a strong impulse can lose its structure before price revisits a familiar retracement. Reading direction and location as two separate questions keeps those situations from collapsing into one attractive line on a chart.
Direction comes from the qualified leg
Impulse Waves & Reversal Zones scores a leg from two source-defined components: its efficiency and its displacement percentile relative to recent legs. The components are combined evenly into an Impulse Quality Score. A leg aligned with the current structure must clear the configured minimum before the overlay treats it as an impulse worth mapping.
This avoids a common analytical shortcut: using the correction itself to decide both the direction and the location. The qualifying leg establishes the structural direction first. The later pullback is then measured against that leg.
Location comes from the retracement of that leg
For a qualified impulse, the script maps a correction band from 0.382 to 0.618 of the leg. Those values are constants in the Pine source. They are geometry, not observed probabilities, and the presence of the band is not an instruction to enter a trade.
The same distinction applies to the extension lines labeled 1.272 and 1.618. They are projections from the impulse geometry. They do not include spread, slippage, liquidity or position sizing, and the source does not attach a success claim to them.
Invalidation belongs before interpretation
Once a correction grows deep enough to erase the structure that justified the impulse read, the original narrative has to be questioned. The correct response is not to treat a deeper retracement as a better opportunity simply because price is closer to a plotted band.
Use the zone as a map of where the current correction sits relative to the qualifying leg. Use the protected-swing structure to decide whether that leg is still the relevant reference. Our guide to structural invalidation expands on that separation.
What the settings actually expose
The Pine source exposes ATR Length, Swing Filter, Pivot Left Bars, Pivot Right Bars, Impulse Strength Min and Channel Width under the algorithm group. Visual toggles control the wave skeleton, zone, projections, stop/R:R layer and labels. The HUD can use three automatically selected higher timeframes or three manual timeframe inputs. Those are source-verified controls; the article does not assume a separate “accuracy” or “optimization” setting because none exists.
A clean chart-reading order
- Identify the qualified impulse and its direction.
- Check whether protected structure still supports that direction.
- Read correction depth relative to that specific leg.
- Treat the band and extensions as geometry, not outcome estimates.
- If structure invalidates, retire the premise instead of moving the reference after the fact.
The live Impulse Waves & Reversal Zones guide covers the complete overlay. For a separate model that counts confirmed pullback outcomes, see Trend Integrity Oscillator.