Ultimate AMD Indicator
By LuxAlgoJul 2, 2026

The Ultimate AMD Indicator is a comprehensive technical analysis tool designed to identify Smart Money Concept patterns, specifically the Accumulation, Manipulation, and Distribution (AMD) cycle, while integrating Fair Value Gaps (FVG) to help traders identify high probability market reversals and structural shifts.
# Usage The Ultimate AMD Indicator simplifies complex price action analysis by automating the recognition of institutional trading patterns. By visualizing these stages directly on your chart, traders can better anticipate potential liquidity runs and subsequent market moves.
### AMD Cycle Detection The script monitors price action to determine the current phase of the market:
- Accumulation: The indicator identifies consolidation zones where price is restricted within a specific percentage range over a set number of bars.
- Manipulation: Once a breakout occurs from the accumulation zone, the tool highlights the manipulation phase. This is where the market creates a false move to lure traders into a trap before the actual trend begins.
- Distribution: After the manipulation phase, the script tracks the return to the accumulation range or subsequent movement, signaling the distribution phase where the primary trend takes hold.
### FVG and IFVG Analysis The indicator includes a powerful module for spotting imbalances:
- Fair Value Gaps (FVG): Automatically highlights areas of price inefficiency where there is a significant imbalance between buying and selling pressure.
- Inverted Fair Value Gaps (IFVG): When an existing FVG is breached by price, the indicator converts it into an IFVG, which often acts as support or resistance, providing potential entry or exit signals.
# Details The Ultimate AMD Indicator is built using a robust state machine logic that tracks the historical progress of price action. It maintains an array of visual elements such as boxes and labels to keep the chart clean while ensuring that only the most relevant recent patterns are displayed.
The FVG detection engine utilizes Average True Range (ATR) based filtering to ensure that only significant gaps are highlighted, reducing noise from minor fluctuations. Furthermore, the script includes built-in collision detection to prevent overlapping shapes from cluttering the screen, allowing for a clearer interpretation of market structure.
# Settings
### AMD Settings
- Accumulation Length: Defines the lookback period used to determine if the market is in a state of accumulation.
- Accumulation Max Range (%): Sets the maximum percentage range allowed for price to be classified as an accumulation zone.
- Breakout Type: Choose between Wicks, Bodies, or Both to define how the indicator detects breakouts from the accumulation phase.
- Max Manipulation Length (Bars): Determines the time limit for the manipulation phase before the pattern is considered invalidated.
- Max AMD Cycles Shown: Controls how many historical AMD patterns remain on the chart.
### FVG Settings
- Show FVGs: Toggles the display of Fair Value Gaps on the chart.
- Show IFVGs: Toggles the display of Inverted Fair Value Gaps.
- FVG Min ATR Multiplier: Filters out smaller gaps by requiring them to be a specific multiple of the current ATR.
- Max Active FVGs/IFVGs: Limits the number of displayed gaps to maintain chart readability.
- Filter Overlapping FVGs/IFVGs: Enables logic to prevent new gaps from forming inside existing ones of the same direction.
### Alert Settings
- Alert on Accumulation: Triggers a notification when a new accumulation phase is identified.
- Alert on Manipulation: Triggers a notification when the price breaks out of the accumulation zone to start the manipulation phase.
### Colors
- Provides customizable color settings for Accumulation boxes, Manipulation zones, Bullish and Bearish FVGs, IFVGs, and all associated text elements to match your preferred trading dashboard aesthetic.
# FAQ ### How do I access the Ultimate AMD Indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Free indicator
Get free access to this indicator on the platforms below.
Unlock the entire LuxAlgo Library
Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.