PROTECTED SOURCE SCRIPT
Telah dikemas kini

Liquidity Sweeps 2.0 – MGTrading

103
Professional Liquidity Sweep Engine with Volume, MACD, Trend, SMT Divergence & Rolling VWAP

Liquidity Sweeps 2.0 is a **complete precision-based liquidity detection framework** built for traders who follow smart money concepts, sweep-based entries, and algorithmic price behavior.

This tool detects **high-probability buy/sell sweeps**, confirms them with market structure, Volume, MACD engine, Trend filtering, SMT divergence, and overlays a Rolling VWAP to track accumulation & distribution behavior.

It is designed for futures, indices, forex, crypto, and options traders.

-

🔥 **MAIN FEATURES**

✅ **1. True Liquidity Sweep Detection**

Automatically detects when price:

* Sweeps a prior high (Sell Sweep)
* Sweeps a prior low (Buy Sweep)
* Rejects and closes back inside the previous range

This helps identify real **stop hunts**, **liquidity grabs**, and **reversal moments**.

---

✅ **2. Volume Spike Confirmation (Smart Filter) **

Sweeps are only confirmed when volume exceeds the dynamic SMA threshold.
This filters out weak sweeps and keeps only **high-quality liquidity grabs**.



✅ **3. MACD Engine Confirmation**

Advanced MACD rules confirm sweeps by:

* MACD direction
* MACD signal agreement
* MACD histogram alignment

This dramatically increases accuracy and removes fake sweeps that occur in weak trends.

Optional **MACD Divergence Detection** reveals trend exhaustion before major reversals.



✅ **4. EMA Trend Filter (9/21) **

Avoid fighting the trend with the optional trend filter:

* Only buy sweeps in uptrend
* Only sell sweeps in downtrend

Great for scalpers and day traders who want trend alignment.



✅ **5. SMT Divergence (Relative Strength vs Reference Symbol) **

Enable SMT to detect when:

* Your chart sweeps a high/low
* But the reference symbol DOES NOT
This creates **displacement**, a powerful reversal signal used by institutional traders.

The symbol is selectable (ES, NQ, SPY, QQQ, BTC.D, DXY, etc.).



✅ **6. Rolling VWAP (RVWAP)**

A more dynamic version of VWAP using:

* Time-based rolling windows
* Volume-weighted price
* Automatic or adjustable window size
* Color change based on slope

Excellent for tracking **accumulation**, **distribution**, and **algorithmic trend bias**.

✅ **7. Clean Mode**

Only show “confirmed” sweeps with a ✓
Ideal for traders who want a simple and clean chart.



# 📊 **LABELS & COLOR CODING**

* 🟥 **Sweep Sell**
* 🟩 **Sweep Buy**
* 🟧 **MACD Bearish Divergence**
* 🟩 **MACD Bullish Divergence**
* 🟦/🟧 **RVWAP Up/Down Trend**
* “✓” means the sweep passed all confirmations.



# 🎯 **WHO IS THIS FOR?**

✔ Futures Traders (ES, NQ, YM, RTY, CL, GC)
✔ Options Traders (SPX, SPY, QQQ)
✔ Forex Traders
✔ Crypto Traders
✔ Smart Money / ICT Style Traders
✔ Liquidity Sweep Traders
✔ Scalpers, Day Traders, Swing Traders

If you trade **liquidity**, **sweeps**, **SMT**, **divergence**, or **VWAP-based behavior**, this indicator is designed for you.



# 🧠 **HOW TO USE IT**

1. Wait for a sweep label to appear at a liquidity pool.
2. Confirm with volume + MACD + trend (if enabled).
3. Watch RVWAP for bias (accumulation vs distribution).
4. Enter on the imbalance/FVG, retrace, or structure break.
5. Use SMT divergence as a premium confirmation.

This tool does NOT repaint after the bar closes.
Signals only appear when conditions are confirmed.



# 📦 **SETTINGS OVERVIEW**

* Lookback window for sweeps: (7 - 13)
* Volume spike threshold
* MACD lengths & filters
* Trend filter (EMA 9/21)
* SMT reference symbol
* RVWAP window + colors
RVWAP Line Width: (2) & Minimum Window Bars: (5)
* Label placement & visual adjustments
* Clean mode

Everything is fully customizable.



⚠️ **DISCLAIMER**

This indicator is for educational purposes only.
It does not guarantee profits.
Always backtest, practice proper risk management, and trade responsibly.



❤️ **If this helped you, leave a like & comment! **

Your support motivates further updates, improvements, and new tools.

Nota Keluaran
✅ Liquidity Sweeps — Quick Guide

Sweeps show where liquidity was grabbed.
They are NOT signals by themselves — you only trade them with MACD Divergence + Market Structure Shift (MSS).

🔹 What is a Sweep?

Sweep Buy → price runs below a previous low (liquidity grab), then closes back inside.
Sweep Sell → price runs above a previous high, then closes back inside.

A sweep = liquidity taken, possible reversal zone.

🔥 The Edge = Sweep + MACD Divergence + MSS
🟢 Bullish Setup (Long)

Enter long ONLY if:

Sweep Buy appears

MACD Bullish Divergence forms

MSS/ChoCH to the upside (break of structure)

MACD flips bullish or RVWAP acts as support

👉 Entry → after MSS pullback / RVWAP retest
👉 Stop → below the sweep low

🔴 Bearish Setup (Short)

Enter short ONLY if:

Sweep Sell appears

MACD Bearish Divergence forms

MSS/ChoCH to the downside

MACD flips bearish or RVWAP rejects

👉 Entry → after MSS pullback / RVWAP rejection
👉 Stop → above sweep high

🚫 Don’t Do This

❌ Don’t trade the sweep candle by itself

❌ Don’t ignore divergence

❌ Don’t enter without MSS/CHoCH

❌ Don’t fight MACD direction

⭐ Summary

Sweep = liquidity
MACD Divergence = exhaustion
MSS = confirmation
→ High-probability reversal entries

Penafian

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.