# Ultimate AMD Indicator

Ultimate AMD Indicator is an indicator on [Vela](https://vela.luxalgo.com/chart), our next-generation charting platform, written in Pine Script®.

Automates Smart Money cycle detection: it boxes accumulation ranges, flags the manipulation breakout that traps traders, then closes the cycle once price moves back into the range, with fair value gaps and optional inverted gaps mapped alongside. ATR filtering and collision control keep the chart readable. For SMC traders hunting structural reversals.

- Indicator in the LuxAlgo Library, by LuxAlgo, published Jul 2, 2026.
- Access: free.
- Concepts: [Accumulation-manipulation-distribution](https://www.luxalgo.com/library/concept/accumulation-manipulation-distribution/) (primary), [Judas Swing](https://www.luxalgo.com/library/concept/judas-swing/)
- Open on Vela: https://vela.luxalgo.com/chart?pineScriptCodeId=cmr31ow84000fhw0ayvhv5npm
- Page: https://www.luxalgo.com/library/indicator/ultimate-amd-indicator/

**Ultimate AMD Indicator** automates the Smart Money read of a trading period, detecting the full [accumulation, manipulation, and distribution](https://www.luxalgo.com/library/concept/accumulation-manipulation-distribution/) cycle with state machine logic that follows price from consolidation through the false breakout and into the real move. Fair value gap analysis runs alongside, ATR filtering keeps only significant gaps on screen, and overlap filtering keeps fair value gaps and accumulation boxes from stacking on each other.

## How to Trade the Ultimate AMD Indicator?

- **Accumulation box**: price confined within a set percentage range across the lookback. Positions are building, and patience is the position.
- **Manipulation phase**: the breakout from the box, highlighted as the false move, in the spirit of the [Judas swing](https://www.luxalgo.com/library/concept/judas-swing/), that lures traders into a trap before the actual trend begins.
- **Distribution phase**: price moves back into the accumulation range after the manipulation, which completes the cycle; the manipulation box stops extending, and the distribution phase itself is not drawn.
- **FVGs and IFVGs**: fresh gaps mark imbalance between buying and selling pressure; once breached, a gap converts into an inverted gap that often acts as support or resistance, offering potential entry or exit signals.

Alerts can notify you when a new accumulation zone forms and when the manipulation breakout fires, so the cycle can be tracked hands-off.

## Ultimate AMD Indicator Settings

- **Accumulation Length**: the lookback used to qualify a consolidation as accumulation.
- **Accumulation Max Range (%)**: the widest range price may hold and still count as accumulating.
- **Breakout Type**: Wicks, Bodies, or Both for detecting the escape from the zone.
- **Max Manipulation Length (Bars)**: how long a manipulation may run before the pattern is invalidated.
- **FVG controls**: Show FVGs and Show IFVGs toggles, an FVG Min ATR Multiplier significance filter, and a Max Active FVGs/IFVGs cap; **Max AMD Cycles Shown**, under AMD Settings, caps the displayed cycles.

## Frequently Asked Questions

### What invalidates an AMD pattern?

Time. If the manipulation phase runs past the Max Manipulation Length you set, the indicator abandons the pattern rather than forcing a distribution call. That guardrail keeps stale setups from lingering on the chart.

### What happens when a fair value gap is filled?

With Show IFVGs enabled (off by default), a gap that price closes through is recolored as an inverted gap, which often switches roles and behaves as support or resistance; with it disabled, the gap is removed. If that mechanic is central to your trading, the dedicated [Inversion Fair Value Gaps](https://www.luxalgo.com/library/indicator/inversion-fair-value-gaps-ifvg/) tool explores it in depth.

### How do I access the Ultimate AMD Indicator?

The indicator is free to use via the LuxAlgo Library. From this page you can also load it into Quant, our coding agent, and test how AMD phases have played out on your instrument. You can also copy the source code from this page and run it anywhere Pine Script® runs.

## Related indicators

- [AMD FVG Trade Setup](https://www.luxalgo.com/library/indicator/amd-fvg-trade-setup/) (Accumulation-manipulation-distribution): markdown at https://www.luxalgo.com/library/indicator/amd-fvg-trade-setup.md
- [HTF PO3](https://www.luxalgo.com/library/indicator/htf-po3/) (Accumulation-manipulation-distribution): markdown at https://www.luxalgo.com/library/indicator/htf-po3.md
- [FVG + Liquidity Sweep + CISD](https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd/) (Change in State of Delivery): markdown at https://www.luxalgo.com/library/indicator/fvg-liquidity-sweep-cisd.md
- [HTF CISD Projections](https://www.luxalgo.com/library/indicator/htf-cisd-projections/) (IPDA & Price Delivery Theory): markdown at https://www.luxalgo.com/library/indicator/htf-cisd-projections.md
- [CISD Projections](https://www.luxalgo.com/library/indicator/cisd-projections/) (IPDA & Price Delivery Theory): markdown at https://www.luxalgo.com/library/indicator/cisd-projections.md
- [SMT Divergences](https://www.luxalgo.com/library/indicator/smt-divergences/) (Smart Money Technique Divergence): markdown at https://www.luxalgo.com/library/indicator/smt-divergences.md
- [Institutional Order Flow Strength Classifier](https://www.luxalgo.com/library/indicator/institutional-order-flow-strength-classifier/) (Institutional Order Flow): markdown at https://www.luxalgo.com/library/indicator/institutional-order-flow-strength-classifier.md
- [Market Maker Models](https://www.luxalgo.com/library/indicator/market-maker-models/) (Smart Money Concepts / ICT): markdown at https://www.luxalgo.com/library/indicator/market-maker-models.md

---

Source: https://www.luxalgo.com/library/indicator/ultimate-amd-indicator/ (LuxAlgo Library). Free to use with attribution: https://www.luxalgo.com/library/license/
