Pure Order Blocks by ShadowQuant TraderPure Order Blocks
This indicator marks four types of order blocks directly from candle structure:
Bullish OB
Bearish OB
Bullish Wick OB
Bearish Wick OB
A Bullish OB is identified when 3 consecutive candles form a valid bullish imbalance:
C1 is the first candle
C2 must not break the low of C1
C3 low must remain above the high of C1
If those conditions are satisfied, C1 is marked as a Bullish Order Block.
A Bearish OB is identified when 3 consecutive candles form a valid bearish imbalance:
B1 is the first candle
B2 must not break the high of B1
B3 high must remain below the low of B1
If those conditions are satisfied, B1 is marked as a Bearish Order Block.
A Bullish Wick OB is identified when a candle sweeps the prior candle’s low with its wick only:
the prior candle must not be an inside bar
the wick candle itself must not be an inside bar
if any later candle touches the wick high, the Bullish Wick OB becomes invalid
A Bearish Wick OB is identified when a candle sweeps the prior candle’s high with its wick only:
the prior candle must not be an inside bar
the wick candle itself must not be an inside bar
if any later candle touches the wick low, the Bearish Wick OB becomes invalid
Important logic:
Full candle OB has priority over Wick OB on the same candle
Inside bars are allowed for full OBs if all full OB rules are satisfied
Inside bars are not allowed for Wick OBs
OBs remain visible only until price touches them
Wick OBs highlight only the wick area, not the full candle
This tool is built for traders who want a clean visual way to track untouched order blocks based purely on candle behavior and imbalance structure.
The Originator of this Indicator is - ShadowQuant Trader by Finweal Finance
Credits to : Prajyot Mahajan.
Pine Script®指标






















