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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
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.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
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.