PROTECTED SOURCE SCRIPT
Rejection Block Detector

Rejection Block Detector
Rejection Block Detector is an indicator designed to automatically identify Rejection Blocks (SRB / LRB) — price levels where the market shows clear rejection and potential reaction.
The indicator detects:
Short Rejection Blocks (SRB) — bearish rejection zones
Long Rejection Blocks (LRB) — bullish rejection zones
Detection logic
Blocks are formed using a two-candle pattern, with precision controlled by the Tolerance parameter.
After a candidate block is detected, a Strength filter is applied, requiring the block’s key extremum to remain unbroken for a specified number of subsequent candles.
Higher Strength values result in:
fewer blocks
higher-quality, more significant levels
reduced market noise
Visualization and lifecycle
Each block is plotted as a horizontal line at its key level.
A block remains active until:
price reaches its key level
or its lifetime expires (Rejection blocks lifetime candles count)
Inactive blocks can either be:
hidden or displayed with reduced opacity using Show non actual rejection blocks
Alerts
The indicator provides alerts for:
Short Rejection Block formation
Long Rejection Block formation
First price touch of a Short Rejection Block
First price touch of a Long Rejection Block
These alerts allow traders to react to important price levels in real time without monitoring the chart continuously.
Use case
This indicator is well suited for traders who focus on:
price action
Smart Money Concepts
reaction and liquidity-based levels
The indicator does not repaint and does not generate trade signals — it highlights structural reaction levels to support informed decision-making.
Rejection Block Detector is an indicator designed to automatically identify Rejection Blocks (SRB / LRB) — price levels where the market shows clear rejection and potential reaction.
The indicator detects:
Short Rejection Blocks (SRB) — bearish rejection zones
Long Rejection Blocks (LRB) — bullish rejection zones
Detection logic
Blocks are formed using a two-candle pattern, with precision controlled by the Tolerance parameter.
After a candidate block is detected, a Strength filter is applied, requiring the block’s key extremum to remain unbroken for a specified number of subsequent candles.
Higher Strength values result in:
fewer blocks
higher-quality, more significant levels
reduced market noise
Visualization and lifecycle
Each block is plotted as a horizontal line at its key level.
A block remains active until:
price reaches its key level
or its lifetime expires (Rejection blocks lifetime candles count)
Inactive blocks can either be:
hidden or displayed with reduced opacity using Show non actual rejection blocks
Alerts
The indicator provides alerts for:
Short Rejection Block formation
Long Rejection Block formation
First price touch of a Short Rejection Block
First price touch of a Long Rejection Block
These alerts allow traders to react to important price levels in real time without monitoring the chart continuously.
Use case
This indicator is well suited for traders who focus on:
price action
Smart Money Concepts
reaction and liquidity-based levels
The indicator does not repaint and does not generate trade signals — it highlights structural reaction levels to support informed decision-making.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.
Script protégé
Ce script est publié en source fermée. Cependant, vous pouvez l'utiliser librement et sans aucune restriction – pour en savoir plus, cliquez ici.
Clause de non-responsabilité
Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.