OPEN-SOURCE SCRIPT

Apex Trend & Liquidity Master (SMC)v7.2

4 195
The Apex Trend & Liquidity Master (SMC)v7.2 is a comprehensive trading system designed to solve a specific problem: how to integrate Trend Following, Classic Supply & Demand, and Smart Money Concepts (SMC) onto a single chart without creating visual chaos.

Most indicators force traders to choose between high-lag trend filters or noisy price action concepts. This script combines both into a unified workflow. It uses a sophisticated "Ghost Mode" transparency engine to keep internal market structures subtle, ensuring the trader's focus remains on price action and the dominant trend.

Core Philosophy

This tool operates on the principle of "External Trend, Internal Liquidity." It forces the trader to respect the macro direction (Trend Cloud) while using micro-structure (FVGs, Order Blocks) for precision entries.

Key Features

Trend Architecture (The Context) The foundation of the script is a dynamic Hull Moving Average (HMA) combined with ATR volatility bands. This creates a "Trend Cloud" that visualizes the dominant market state.

Teal Cloud: Bullish Context (Look for Longs).

Maroon Cloud: Bearish Context (Look for Shorts).

Classic Liquidity (The Targets) The script identifies major Swing Highs and Swing Lows based on pivot sensitivity. These are rendered as solid blocks and represent "External Liquidity." These are your primary Take Profit targets or major reversal zones.

Smart Money Concepts (The Entry) The script automatically detects internal market structure, including:

BOS (Break of Structure): Signals trend continuation.

CHoCH (Change of Character): Signals potential trend reversal.

Order Blocks & FVGs: Institutional footprints that act as magnets for price. These feature "Ghost Mode" styling (high transparency, no borders) and "Auto-Mitigation" (they are deleted immediately when price closes through them) to keep the chart clean.

Signal & Risk Engine

Entry Signals: Momentum-based Buy/Sell labels that filter out chop using ADX.

Trailing Stop: A Chandelier-style ATR trailing stop line to assist in trade management and locking in profits.

Visual Legend & Color Hierarchy

To allow for instant chart processing, the colors follow a strict hierarchy:

Context (Dark/Deep Colors): The Trend Cloud and Bar Colors use Deep Teal and Maroon. These indicate the background environment.

Action (Neon Colors): Signals, BOS/CHoCH lines, and the Trailing Stop use Neon Green and Neon Red. These require immediate attention.

Major Levels (Solid Colors): Classic Supply & Demand zones use Standard Forest Green and Brick Red. These are hard targets.

Internal Zones (Pale/Ghost Colors): Order Blocks and FVGs use Pale Mint and Pale Rose with high transparency. These are background areas of interest for entries.

How to Use This Indicator

For the highest probability setups, use a "Confluence Approach" rather than trading signals in isolation:

Identify Direction: Look at the Trend Cloud. Do not trade against the color of the cloud.

Wait for Pullback: Wait for price to retrace into a "Ghost Zone" (Fair Value Gap or Order Block) nested inside the trend.

Wait for Trigger: Look for a Neon "Buy" or "Sell" signal, or a BOS line break in the direction of the trend.

Manage Risk: Use the Trailing Stop line to manage your position.

Target Liquidity: Aim for the solid Classic Supply/Demand zones as exit points.

Settings & Customization

Trend Length: Default is 55 (Swing). Lower this to 20-30 for Scalping.

Signal Toggles: Signals and Trailing Stops are enabled by default but can be toggled off for a pure price-action view.

Sensitivity: The Pivot Lookback (Default 10) controls how many Supply/Demand zones appear.

Disclaimer

This script is for educational and informational purposes only. It does not constitute financial advice. Trading in financial markets involves a high degree of risk, and you should not trade with money you cannot afford to lose. Past performance of any trading system or methodology is not necessarily indicative of future results. Always perform your own due diligence and use proper risk management.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.