OPEN-SOURCE SCRIPT

Liquidity Trend Horizon [Pineify]

10 142
Pineify - Liquidity Trend Horizon

The Liquidity Trend Horizon is a sophisticated trend-following indicator designed to identify potential liquidity sweep zones while providing clear visual trend direction. It combines adaptive volatility bands with smart liquidity detection to help traders spot high-probability reversal points where institutional activity may be occurring.

Snapshot

Key Features
  • Dynamic trend baseline using WMA and EMA smoothing
  • ATR-based volatility bands that adapt to market conditions
  • Automatic liquidity sweep detection with visual alerts
  • Gradient-filled channels for intuitive trend visualization
  • Real-time candle coloring based on trend direction


How It Works

The indicator calculates a weighted moving average (WMA) of the closing price, then applies exponential smoothing (EMA) to create a responsive yet stable baseline. This dual-smoothing approach filters out market noise while maintaining sensitivity to genuine trend changes.

Volatility bands are constructed using a 200-period Average True Range (ATR) multiplied by a user-defined factor. This creates dynamic support and resistance zones that automatically widen during volatile periods and contract during consolidation.

How Multiple Indicators Work Together

The synergy between WMA, EMA, and ATR creates a comprehensive trend analysis system:
  1. The WMA provides the initial trend estimation with emphasis on recent price action
  2. The EMA layer adds smoothness to reduce false signals
  3. The ATR bands define probabilistic boundaries where price is likely to find support or resistance


Trading Ideas and Insights

Liquidity sweeps occur when price wicks beyond the volatility bands but closes back within the channel. These events often indicate:
  • Stop-loss hunting by larger market participants
  • False breakouts that may lead to reversals
  • Areas of accumulated liquidity being absorbed


A bullish sweep (wick below lower band, close above) suggests potential buying opportunity. A bearish sweep (wick above upper band, close below) may signal selling pressure.


Unique Aspects

Unlike traditional channel indicators, the Liquidity Trend Horizon specifically identifies sweep events where price temporarily breaks boundaries before reverting. This behavior is commonly associated with institutional order flow and smart money concepts.

How to Use
  1. Observe the baseline color for overall trend direction (cyan for bullish, purple for bearish)
  2. Watch for sweep markers (🚀 BULL / 📉 BEAR) at band extremes
  3. Use background flashes as immediate alerts for sweep events
  4. Consider entries when sweeps align with the prevailing trend direction


Customization
  • Trend Period - Adjust baseline sensitivity (default: 24)
  • Channel Width Multiplier - Control band distance from baseline (default: 2.0)
  • Smoothness - Fine-tune signal responsiveness (default: 5)
  • Color Settings - Personalize bullish/bearish colors and transparency


Conclusion

The Liquidity Trend Horizon bridges technical analysis with liquidity concepts, offering traders a unique perspective on market structure. By highlighting potential sweep zones within an adaptive trend framework, it helps identify areas where reversals are statistically more likely to occur.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.