Market Phase Analyzer
- Indicators
-
Mattia Impicciatore
Hello,
I’m Mattia — a fintech developer, trader, and expert in MQL5, Python, and web technologies. - Version: 1.0
General Description
Clear indicators and simple rules to read the three key phases of the market. This indicator identifies in real time an accumulation phase based on the Asian session, detects any liquidity sweeps during the manipulation phase, and confirms the directional phase during distribution. It displays green arrows for the bullish phase and red arrows for the bearish phase, draws the Asia box with customizable color and border, and optionally shows the daily open line for quick intraday context.
How It Works
During the accumulation interval, the indicator builds a box between the recorded high and low. In the manipulation phase, it checks if the price performs a sweep beyond the box range for a defined number of pips. In the distribution phase, it validates the phase change by requiring ATR-based confirmation or a simple pip extension beyond the box limits. When conditions are met, it plots the corresponding arrow and a phase label directly on the chart.
Three-Phase Trading Logic
Accumulation – define the Asian session hours and draw the price corridor.
Manipulation – detect sweeps above or below the box to identify stop hunts and false breakouts.
Distribution – confirm direction after the sweep using a dynamic ATR-based threshold or a fixed pip distance.
What It Displays on the Chart
Asia box with customizable fill and border colors and the ability to draw above or below candles.
Bullish and Bearish phase arrows with size and color optimized for intraday reading.
Daily Open line to contextualize the daily bias and clearly separate trading days.
Main Parameters
Session Hours – set in server/broker time the Accumulation, Manipulation, and Distribution windows.
SweepPips – defines the minimum distance beyond the box to consider a sweep valid.
UseATRConfirmation – enables dynamic ATR confirmation to reduce false signals.
ATR Period & ATR Multiplier – adjust sensitivity and robustness of the filter.
Asia Box Settings – customize border color, fill color, transparency, and drawing depth.
General Settings – manage object cleanup and lookback to keep the chart light.
Visuals – enable the daily open line and its color.
Trading Tips
Consider direction relative to the Daily Open to align the phase with the day’s bias.
For highly volatile instruments, increase ATR Multiplier or SweepPips to filter noise and spikes.
On lower timeframes, prefer ATR confirmation to avoid premature confirmations after sweeps.
Avoid anticipating confirmation during Manipulation; wait for Distribution time for cleaner signals.
Timeframes and Instruments
Designed to work on any symbol, with particular effectiveness on Forex pairs, indices, and gold. Recommended timeframes are from M5 to H1 for consistent intraday session reading.
Recommended Integration
For maximum technical confirmation efficiency, combine this indicator with Candlestick Pattern Analyzer
https://www.mql5.com/en/market/product/145419
Keywords
asia box, liquidity sweep, manipulation phase, distribution phase, accumulation, forex sessions, false breakout, stop hunt, atr confirmation, daily open, intraday bias, london session, new york session, volatility, risk management, trend continuation, reversal setup, smart money concepts, ict style, range high low, pips filter, confluence, price action, timeframe m5, timeframe m15, timeframe h1, scalping, day trading, swing intraday, mql5 indicator

nice work