PROTECTED SOURCE SCRIPT

Liquidity Trend System

47
This script is a multi-strategy trading indicator. It combines several technical analysis tools into one overlay indicator to generate Buy and Sell signals. Here’s what it does:

✅ Main Purpose
It analyses price action and trends using multiple methods and plots signals, targets, and alerts on the chart. The goal is to identify high-probability trade setups.

🔍 Components & Their Roles

Target Trend

Detects trend direction using moving averages and ATR.
Draws stop-loss, entry, and three target levels on the chart.
Colours candles based on trend (bullish or bearish).
Plots visual signals (triangles) when trend changes.


Trend Filter

Applies a two-pole smoothing filter to price for trend detection.
Uses rising/falling conditions to confirm trend strength.
Plots a coloured line and optional signals when trend changes.


Liquidity Sweeps

Identifies liquidity grabs (price sweeping highs/lows).
Marks wicks, outbreaks, and retests visually.
Highlights zones where liquidity was taken.


Candle Range Trading

Detects two-candle reversal patterns:

Bullish CRT (second candle bullish after bearish first).
Bearish CRT (second candle bearish after bullish first).

Plots markers and optional high/low box for the pattern.


RBD/DBR Patterns

Detects supply/demand patterns:

Rally → Base → Drop (RBD)
Rally → Base → Rally (RBR)
Drop → Base → Drop (DBD)
Drop → Base → Rally (DBR)

Colours bars and plots labels for these patterns.


✅ Final Signal Logic

Combines all conditions from the above strategies AND higher timeframe confirmations (HTF)

Generates:

Buy signal when all bullish conditions align.
Sell signal when all bearish conditions align.


Plots Buy/Sell labels and triggers alerts.

⚠️ Key Notes

This is a confluence-based system: signals appear only when multiple strategies agree.
It uses multi-timeframe analysis, which can repaint if not handled carefully.
Heavy use of lines, labels, and arrays → may impact performance on lower-end devices.

إخلاء المسؤولية

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.