PROTECTED SOURCE SCRIPT
Opposite Candle Zone Identifier

Opposite Candle Zone Identifier
This indicator automatically detects candles that form potential Supply and Demand zones based on a simple but effective institutional pattern.
It identifies any central candle (bullish or bearish) that is surrounded by a defined number of opposite candles before and after, helping traders highlight key turning points, absorption zones, and areas of imbalance in the market.
How It Works
The script looks for two specific structures:
🔴 Bearish Central Candle Zone (Potential Supply)
The central candle is bearish
It is preceded by N bullish candles
It is followed by N bullish candles
This structure often appears at the origin of bearish impulses and can mark institutional Supply zones.
🟢 Bullish Central Candle Zone (Potential Demand)
The central candle is bullish
It is preceded by N bearish candles
It is followed by N bearish candles
This pattern frequently forms before strong bullish expansions and may indicate Demand zones or accumulation points.
Inputs
Number of candles before (left side of the central candle)
Number of candles after (right side of the central candle)
You can increase or decrease the sensitivity of the pattern according to your style or timeframe.
What It Draws
The indicator places:
A red label above bearish zone candles
A green label below bullish zone candles
These labels help you visually identify where institutional footprints and price imbalances may exist.
Best Use Cases
Supply & Demand mapping
Institutional trading / Smart Money Concepts
Swing points and zone detection
Filtering high-quality reversal points
Locating strong origin candles before price expansions
Notes
This script does not repaint, does not use future data, and works on all timeframes and all markets.
This indicator automatically detects candles that form potential Supply and Demand zones based on a simple but effective institutional pattern.
It identifies any central candle (bullish or bearish) that is surrounded by a defined number of opposite candles before and after, helping traders highlight key turning points, absorption zones, and areas of imbalance in the market.
How It Works
The script looks for two specific structures:
🔴 Bearish Central Candle Zone (Potential Supply)
The central candle is bearish
It is preceded by N bullish candles
It is followed by N bullish candles
This structure often appears at the origin of bearish impulses and can mark institutional Supply zones.
🟢 Bullish Central Candle Zone (Potential Demand)
The central candle is bullish
It is preceded by N bearish candles
It is followed by N bearish candles
This pattern frequently forms before strong bullish expansions and may indicate Demand zones or accumulation points.
Inputs
Number of candles before (left side of the central candle)
Number of candles after (right side of the central candle)
You can increase or decrease the sensitivity of the pattern according to your style or timeframe.
What It Draws
The indicator places:
A red label above bearish zone candles
A green label below bullish zone candles
These labels help you visually identify where institutional footprints and price imbalances may exist.
Best Use Cases
Supply & Demand mapping
Institutional trading / Smart Money Concepts
Swing points and zone detection
Filtering high-quality reversal points
Locating strong origin candles before price expansions
Notes
This script does not repaint, does not use future data, and works on all timeframes and all markets.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
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.
Script protetto
Questo script è pubblicato come codice protetto. Tuttavia, è possibile utilizzarle liberamente e senza alcuna limitazione – ulteriori informazioni qui.
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.