OPEN-SOURCE SCRIPT
KC Confirmed Order Blocks

KC Confirmed Order Blocks is a rule-based educational indicator designed to display potential bullish and bearish reaction zones following confirmed breaks of market structure.
A bullish order block is defined as the most recent bearish candle located before a confirmed bullish break above the latest pivot high.
A bearish order block is defined as the most recent bullish candle located before a confirmed bearish break below the latest pivot low.
Main features:
• Confirmed pivot-based structure detection
• Bullish and bearish break-of-structure confirmation
• Full-candle or candle-body order-block ranges
• Optional ATR displacement filter
• Optional volume filter
• Touch, midpoint and full-fill mitigation methods
• Close-based or wick-based invalidation
• Automatic management of active, mitigated and invalidated zones
• Configurable number of visible zones
• Bullish and bearish order-block alerts
• Compact market-status dashboard
Methodology:
The indicator first identifies confirmed pivot highs and pivot lows. These pivots require the selected number of candles on both sides before they are confirmed.
After a confirmed bullish break above the latest pivot high, the indicator searches backward for the nearest bearish candle within the selected lookback period. That candle's full range or body is displayed as a bullish order block.
After a confirmed bearish break below the latest pivot low, the indicator searches backward for the nearest bullish candle. That candle's range is displayed as a bearish order block.
Mitigation:
Touch means price enters the nearest edge of the zone.
Midpoint means price reaches 50% of the zone.
Full Fill means price reaches the opposite edge of the zone.
Mitigation only indicates that price has revisited the zone. It does not guarantee a reversal.
Invalidation:
A bullish order block is invalidated when price closes or trades below its lower boundary, depending on the selected setting.
A bearish order block is invalidated when price closes or trades above its upper boundary.
Limitations:
Order-block identification is not universally standardized. This indicator applies a transparent rule-based definition so its behavior can be understood and evaluated consistently.
All zones are calculated from historical price data. Marked zones may fail, become mitigated without reversal or be invalidated during volatile and news-driven market conditions.
This script is intended solely for educational market analysis. It is not financial advice or a recommendation to buy or sell any financial instrument. Users should conduct independent analysis and apply appropriate risk management.
A bullish order block is defined as the most recent bearish candle located before a confirmed bullish break above the latest pivot high.
A bearish order block is defined as the most recent bullish candle located before a confirmed bearish break below the latest pivot low.
Main features:
• Confirmed pivot-based structure detection
• Bullish and bearish break-of-structure confirmation
• Full-candle or candle-body order-block ranges
• Optional ATR displacement filter
• Optional volume filter
• Touch, midpoint and full-fill mitigation methods
• Close-based or wick-based invalidation
• Automatic management of active, mitigated and invalidated zones
• Configurable number of visible zones
• Bullish and bearish order-block alerts
• Compact market-status dashboard
Methodology:
The indicator first identifies confirmed pivot highs and pivot lows. These pivots require the selected number of candles on both sides before they are confirmed.
After a confirmed bullish break above the latest pivot high, the indicator searches backward for the nearest bearish candle within the selected lookback period. That candle's full range or body is displayed as a bullish order block.
After a confirmed bearish break below the latest pivot low, the indicator searches backward for the nearest bullish candle. That candle's range is displayed as a bearish order block.
Mitigation:
Touch means price enters the nearest edge of the zone.
Midpoint means price reaches 50% of the zone.
Full Fill means price reaches the opposite edge of the zone.
Mitigation only indicates that price has revisited the zone. It does not guarantee a reversal.
Invalidation:
A bullish order block is invalidated when price closes or trades below its lower boundary, depending on the selected setting.
A bearish order block is invalidated when price closes or trades above its upper boundary.
Limitations:
Order-block identification is not universally standardized. This indicator applies a transparent rule-based definition so its behavior can be understood and evaluated consistently.
All zones are calculated from historical price data. Marked zones may fail, become mitigated without reversal or be invalidated during volatile and news-driven market conditions.
This script is intended solely for educational market analysis. It is not financial advice or a recommendation to buy or sell any financial instrument. Users should conduct independent analysis and apply appropriate risk management.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Get exclusive analysis and trade setups on my Telegram channel: t.me/+ljltWsU9ex01YTQ0
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
Get exclusive analysis and trade setups on my Telegram channel: t.me/+ljltWsU9ex01YTQ0
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.