Wyckoff Pattern Indicator-AlmostPerfect
May 26, 2026

The Wyckoff Pattern Indicator tool automatically identifies market accumulation and distribution phases in real-time to provide buy, sell, and hold signals based on institutional supply and demand logic. It translates the classic Wyckoff Method into a structured scoring system that functions across all asset classes and timeframes.
Usage
The Usage section describes how the script can be used, examples should be provided in this section. This section also focuses on how main settings affect the indicator interpretation and output.
Phase Detection and Progression
The indicator scores every candle across six independent factors, including price position within the range, long-term trend (EMA 50/200), realized volatility, volume conditions, RSI, and MACD slope. To ensure signal stability, a 3-bar consecutive confirmation is required before a phase shift is confirmed.
The indicator tracks five distinct sub-phases (A through E) for both Accumulation and Distribution:
- Accumulation (Phases A-E): Tracks the stopping of a downtrend through the "Spring" or "Shakeout" toward the eventual mark-up phase.
- Distribution (Phases A-E): Tracks the stopping of an uptrend through "Upthrusts" (UTAD) toward the eventual mark-down phase.
Wyckoff Event Labels
The tool automatically plots labels for specific Wyckoff schematic events:
- SC/BC: Selling or Buying Climaxes indicating exhaustion.
- SP/UTAD: Springs and Upthrusts representing liquidity traps.
- SOS/SOW: Signs of Strength or Weakness indicating trend breaks on rising volume.
- LPS/LPSY: Last Points of Support or Supply during pullbacks or rallies.
Signals and Zones
- BUY (Green): Triggered during Accumulation Phases C/D, Springs, or LPS events. These are suppressed during Distribution phases.
- SELL (Red): Triggered during Distribution Phases C/D, UTADs, or LPSY events. These are suppressed during Accumulation phases.
- HOLD (Yellow): Indicates Phase B consolidation or ambiguous ranges where confirmation is required.
- Supply & Demand Zones: Red and green shaded bands represent the upper and lower boundaries of the current trading range.
Details
The script utilizes a multi-factor scoring engine to determine market state. A phase is only declared when a specific score threshold is met and maintained for three bars to prevent "whipsaw" signals caused by minor RSI or MACD fluctuations. Unlike static drawing tools, the supply and demand zones are calculated dynamically using plot() and fill() functions, ensuring they remain accurate across different chart scales and scroll positions.
Settings
Core Settings
- Lookback Period: Defines the number of bars used to calculate the trading range highs and lows (default 50).
- Volume Climax Multiplier: Sets the threshold for identifying high-volume climax events relative to the average volume.
- RSI Length: Determines the period for the internal RSI scoring component.
Display
- Phase Label: Toggles the visibility of labels when the market transitions between phases.
- Supply/Demand Zones: Enables or disables the red and green range bands.
- Buy/Sell/Hold Signals: Controls the visibility of the primary directional labels.
- Wyckoff Events: Toggles specific schematic markers like SC, BC, and SP.
- EMAs 20/50/200: Displays or hides the trend-following moving averages.
- Phase Background: Enables background shading to visually distinguish Accumulation and Distribution zones.
- Info Table: Displays a dashboard in the top-right corner with live data on phases, volume, and scoring.
Signal Colors
- Buy/Sell/Hold: Customizes the colors for the primary execution signals.
FAQ
How do I interpret the Phase E signals? Phase E represents the point where the price has exited the trading range and is trending. Signals in this phase are often trend-continuation confirmations.
Why are some BUY signals hidden even if a Spring occurs? The indicator suppresses BUY signals if the overall scoring logic indicates the market is currently in a Distribution phase to prevent trading against the dominant institutional bias.
How can I access the Wyckoff Pattern Indicator? You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.
Unlock Unlimited Access to the LuxAlgo Library
Upgrade your plan to get all indicators, strategies, charts, and full access to Quant, our AI agent.
Trading & investing are risky and many will lose money in connection with trading and investing activities. All content on this site is not intended to, and should not be, construed as financial advice. Decisions to buy, sell, hold or trade in securities, commodities and other investments involve risk and are best made based on the advice of qualified financial professionals. Past performance does not guarantee future results.
Hypothetical or Simulated performance results have certain limitations. Unlike an actual performance record, simulated results do not represent actual trading. Also, since the trades have not been executed, the results may have under-or-over compensated for the impact, if any, of certain market factors, including, but not limited to, lack of liquidity. Simulated trading programs in general are designed with the benefit of hindsight, and are based on historical information. No representation is being made that any account will or is likely to achieve profit or losses similar to those shown.
Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.
As a provider of technical analysis tools and strategies, we do not have access to the personal trading accounts or brokerage statements of our customers. As a result, we have no reason to believe our customers perform better or worse than traders as a whole based on any content, tool, or platform feature we provide.
Charts used on this site are by TradingView in which the majority of our technical indicators are built on. TradingView® is a registered trademark of TradingView, Inc. www.TradingView.com TradingView® has no affiliation with the owner, developer, or provider of the Services described herein.
Market data is provided by CBOE, CME Group, BarChart, Massive, CoinAPI. Select U.S. equities data is provided through Massive. CBOE BZX real-time U.S. equities data is licensed from CBOE and provided through BarChart. Real-time futures data is licensed from CME Group and provided through BarChart. Select cryptocurrency data, including major coins, is provided through CoinAPI. All data is provided “as is” and should be verified independently for trading purposes.
This does not represent our full Disclaimer. Please read our full disclaimer.
© 2026 LuxAlgo Global, LLC.

