PROTECTED SOURCE SCRIPT

Opposite Candle Zone Identifier

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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。