PROTECTED SOURCE SCRIPT

Rejection Block Detector

61
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.

Declinazione di responsabilità

Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.