OPEN-SOURCE SCRIPT
Apex Trend & Liquidity Master

The Apex Trend & Liquidity Master is a hybrid trading system designed to align traders with the dominant market trend while identifying key structural price levels. Unlike simple moving average crossovers, this tool utilizes a volatility-adaptive "Trend Cloud" (based on Hull Moving Averages and ATR) to filter out market noise and chop.
Simultaneously, the script employs a "Smart Liquidity" engine that automatically detects and plots institutional Supply and Demand zones based on pivot points. These zones are dynamic; they extend forward in time until price breaks through them, at which point they are automatically removed (mitigated) to keep the chart clean.
Key Features
Adaptive Trend Cloud: Expands and contracts based on market volatility to define clear Bullish and Bearish regimes.
Smart Liquidity Zones: Automatically draws Supply (Resistance) and Demand (Support) boxes that vanish once the price invalidates them.
Signal Filters: Integrated Volume and RSI filters ensure "Buy" and "Sell" signals only appear during high-conviction moves.
Live HUD: An on-chart dashboard displaying the current Trend Bias, Momentum strength, and Volume status.
How to Use
1. Trend Identification The primary background fill serves as your trend bias.
Green Cloud/Candles: Bullish Trend. Look for long opportunities or bounces off Demand zones.
Red Cloud/Candles: Bearish Trend. Look for short opportunities or rejections from Supply zones.
2. Liquidity Zones (Supply & Demand) The indicator plots boxes extending from major pivot points.
Green Boxes (Demand): Areas where buyers previously stepped in. These act as support.
Red Boxes (Supply): Areas where sellers previously stepped in. These act as resistance.
Mitigation: If a candle closes through a zone, the box is deleted, signaling that the liquidity at that level has been consumed.
3. Entry Signals Labels ("BUY" and "SELL") appear when the trend flips.
These signals are filtered. If "Volume Filter" is enabled, a signal will only appear if the current volume is above the 20-period average.
If "RSI Filter" is enabled, Buy signals are blocked if the market is already overbought, preventing "top ticking."
4. The Dashboard (HUD) Located on the chart, this panel provides a summary of the current candle:
Trend Bias: The direction of the cloud.
Momentum: Based on RSI (Weak, Neutral, or Strong).
Volume: Indicates if the current volume is High (above average) or Low.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Simultaneously, the script employs a "Smart Liquidity" engine that automatically detects and plots institutional Supply and Demand zones based on pivot points. These zones are dynamic; they extend forward in time until price breaks through them, at which point they are automatically removed (mitigated) to keep the chart clean.
Key Features
Adaptive Trend Cloud: Expands and contracts based on market volatility to define clear Bullish and Bearish regimes.
Smart Liquidity Zones: Automatically draws Supply (Resistance) and Demand (Support) boxes that vanish once the price invalidates them.
Signal Filters: Integrated Volume and RSI filters ensure "Buy" and "Sell" signals only appear during high-conviction moves.
Live HUD: An on-chart dashboard displaying the current Trend Bias, Momentum strength, and Volume status.
How to Use
1. Trend Identification The primary background fill serves as your trend bias.
Green Cloud/Candles: Bullish Trend. Look for long opportunities or bounces off Demand zones.
Red Cloud/Candles: Bearish Trend. Look for short opportunities or rejections from Supply zones.
2. Liquidity Zones (Supply & Demand) The indicator plots boxes extending from major pivot points.
Green Boxes (Demand): Areas where buyers previously stepped in. These act as support.
Red Boxes (Supply): Areas where sellers previously stepped in. These act as resistance.
Mitigation: If a candle closes through a zone, the box is deleted, signaling that the liquidity at that level has been consumed.
3. Entry Signals Labels ("BUY" and "SELL") appear when the trend flips.
These signals are filtered. If "Volume Filter" is enabled, a signal will only appear if the current volume is above the 20-period average.
If "RSI Filter" is enabled, Buy signals are blocked if the market is already overbought, preventing "top ticking."
4. The Dashboard (HUD) Located on the chart, this panel provides a summary of the current candle:
Trend Bias: The direction of the cloud.
Momentum: Based on RSI (Weak, Neutral, or Strong).
Volume: Indicates if the current volume is High (above average) or Low.
Disclaimer This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a guarantee of future results.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.