OPEN-SOURCE SCRIPT

ICT Order Block [KTY]

169
ICT Order Block Indicator

Overview
This indicator automatically detects and displays Order Blocks (OB) based on ICT (Inner Circle Trader) methodology.
Order Blocks are price zones where Smart Money (institutions, banks) executed large buy/sell orders. These zones often act as strong support and resistance levels, making them valuable for identifying high-probability entry points.

Key Features
Multi-Timeframe Support

Display OBs from two different timeframes simultaneously (LTF & HTF)
HTF Order Blocks provide stronger, more reliable levels

Bullish & Bearish Order Blocks

Bullish OB: Last bearish candle before a significant up move → Acts as support
Bearish OB: Last bullish candle before a significant down move → Acts as resistance

Breaker Block Detection

When an OB is broken, it converts to a Breaker Block (BB)
Role reverses: Former support becomes resistance, and vice versa

Volume Analysis

Displays volume at OB formation
Shows upper/lower volume balance ratio (%)
Lower percentage = stronger one-sided order flow = more significant zone

OB Body Lines

Dotted lines showing the candle body (open/close) within the OB
Useful for precise entry points


How to Use

Identify the trend on higher timeframes
Wait for price to re-enter an Order Block zone
Look for confirmation (candlestick patterns, lower timeframe structure break)
Enter within the OB, set stop loss below/above the OB

Pro Tips:

OBs that overlap with FVG (Fair Value Gap) or OTE (Optimal Trade Entry) have higher probability
HTF Order Blocks are more reliable than LTF
Fresh (untested) OBs tend to have stronger reactions


Settings
SettingDescriptionLTF / HTFEnable and select timeframes for Order Block detectionBullish OB CountNumber of Bullish Order Blocks to display (1-10)Bearish OB CountNumber of Bearish Order Blocks to display (1-10)Show Breaker BlocksToggle Breaker Block displayShow OB Body LinesToggle candle body lines within OBLabel ColorCustomize text color inside OB boxes

Alerts

🟢 Bullish OB Detected
🔴 Bearish OB Detected
🟢 Bullish OB Touched
🔴 Bearish OB Touched
🟢 Bullish BB Touched
🔴 Bearish BB Touched
💥 Bullish OB → BB Conversion
💥 Bearish OB → BB Conversion


Notes

This indicator is designed for educational purposes
Always combine with proper risk management
Past performance does not guarantee future results


If you find this indicator helpful, please leave a like and follow for more ICT-based tools!

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน