PROTECTED SOURCE SCRIPT
Rejection Blocks (RJB) and Liquidity Grabs (SFPs)- Milana Trades

This indicator highlights Rejection Blocks (RJB) and Liquidity Grabs (SFPs)—two advanced price action concepts used by professional traders, especially those following ICT (Inner Circle Trader) strategies.
Rejection Block (RJB) is an advanced version of the traditional Order Block. It marks areas where price has been sharply rejected—often zones where smart money enters or exits positions. The logic is based on specific wick rejection criteria and candle structure, with mitigated RJBs marked or hidden automatically.
Liquidity Grab (SFP) detects key Swing Failure Patterns—where price takes out a previous high/low, grabs liquidity, and reverses. Optional volume validation is available for more accurate filtering, especially using LTF (lower timeframe) data.
Key Features:
Rejection Block (RJB)

1) Identifies both bullish and bearish rejection blocks.
2) Two logic types: “trapped wick” and “signal wick” configurations.
3) Auto-detection of mitigated RJBs and customizable visualization.
4)Adjustable color, transparency, box style, label text, and more.
5)Limit on max RJBs displayed to keep the chart clean.
Liquidity Grab (SFP)

1)Detects bullish and bearish SFPs (Swing Failure Patterns).
2)Optional volume validation with threshold control (based on LTF).
3)Dynamically adjusts lower timeframe resolution (auto/manual).
4)Visual confirmation lines, wick highlights, and labels.
5)SFP Dashboard table (optional) for LTF & validation display.
SFP Wick to RJB Zones
Converts confirmed SFPs into new RJB boxes.
Adds powerful confluence between rejection and liquidity.
🔔 Built-in Alerts
Alerts can be set up for both bullish and bearish Rejection Blocks, as well as confirmed SFPs.
Ideal for traders who want to be notified in real-time when price:
Forms a valid Rejection Block,
Prints a confirmed SFP (Swing Failure),
Enters or exits key liquidity zones.
Alerts are fully compatible with TradingView’s alert system.
⚙️ Settings Overview:
Rejection Blocks
Enable plotting, box limit, mitigated filtering, label customization.
Liquidity Grabs (SFPs)
Enable SFPs (bull/bear), pivot length, volume % threshold, LTF resolution.
Enable dashboard, wick display, and validation logic.
SFP-based RJB
Create RJB zones from confirmed SFP signals.
Independent box length and color settings.
Dashboard & Labels
Enable/disable visual labels and LTF info table.
Customize font size, color, and position.
Use Cases:
Identify smart money rejection zones before price reversals.
Use mitigated RJBs to anticipate failed retests or structure breaks.
Trade with confidence by combining RJB + SFP signals.
Set alerts to monitor setups without staring at charts 24/7.
Notes:
Compatible with any market (Forex, Crypto, Indices, Stocks).
Works on all timeframes.
Rejection Block (RJB) is an advanced version of the traditional Order Block. It marks areas where price has been sharply rejected—often zones where smart money enters or exits positions. The logic is based on specific wick rejection criteria and candle structure, with mitigated RJBs marked or hidden automatically.
Liquidity Grab (SFP) detects key Swing Failure Patterns—where price takes out a previous high/low, grabs liquidity, and reverses. Optional volume validation is available for more accurate filtering, especially using LTF (lower timeframe) data.
Key Features:
Rejection Block (RJB)
1) Identifies both bullish and bearish rejection blocks.
2) Two logic types: “trapped wick” and “signal wick” configurations.
3) Auto-detection of mitigated RJBs and customizable visualization.
4)Adjustable color, transparency, box style, label text, and more.
5)Limit on max RJBs displayed to keep the chart clean.
Liquidity Grab (SFP)
1)Detects bullish and bearish SFPs (Swing Failure Patterns).
2)Optional volume validation with threshold control (based on LTF).
3)Dynamically adjusts lower timeframe resolution (auto/manual).
4)Visual confirmation lines, wick highlights, and labels.
5)SFP Dashboard table (optional) for LTF & validation display.
SFP Wick to RJB Zones
Converts confirmed SFPs into new RJB boxes.
Adds powerful confluence between rejection and liquidity.
🔔 Built-in Alerts
Alerts can be set up for both bullish and bearish Rejection Blocks, as well as confirmed SFPs.
Ideal for traders who want to be notified in real-time when price:
Forms a valid Rejection Block,
Prints a confirmed SFP (Swing Failure),
Enters or exits key liquidity zones.
Alerts are fully compatible with TradingView’s alert system.
⚙️ Settings Overview:
Rejection Blocks
Enable plotting, box limit, mitigated filtering, label customization.
Liquidity Grabs (SFPs)
Enable SFPs (bull/bear), pivot length, volume % threshold, LTF resolution.
Enable dashboard, wick display, and validation logic.
SFP-based RJB
Create RJB zones from confirmed SFP signals.
Independent box length and color settings.
Dashboard & Labels
Enable/disable visual labels and LTF info table.
Customize font size, color, and position.
Use Cases:
Identify smart money rejection zones before price reversals.
Use mitigated RJBs to anticipate failed retests or structure breaks.
Trade with confidence by combining RJB + SFP signals.
Set alerts to monitor setups without staring at charts 24/7.
Notes:
Compatible with any market (Forex, Crypto, Indices, Stocks).
Works on all timeframes.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Korumalı komut dosyası
Bu komut dosyası kapalı kaynak olarak yayınlanmaktadır. Ancak, özgürce ve herhangi bir sınırlama olmaksızın kullanabilirsiniz – daha fazla bilgi burada.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.