OPEN-SOURCE SCRIPT
Ict + Alert (Realtime) - Optimized v2

📊 Description
This indicator implements the ICT (Inner Circle Trader) strategy using Fair Order Blocks (FOB) to identify demand and supply zones in the market. Optimized for XAUUSD (Gold) trading with real-time alerts.
🎯 How It Works
The indicator analyzes price movements to identify:
Bullish Fair Order Blocks: Zones where price left uncovered liquidity (gap) during an upward movement
Bearish Fair Order Blocks: Zones where price left uncovered liquidity during a downward movement
When price returns to these zones, the indicator generates:
📦 Colored boxes on the chart (green for long, red for short)
🔔 Real-time alerts with automatically calculated Entry, Stop Loss, and Take Profit
📍 Visual signals (triangles) to easily spot trading opportunities
⚙️ Key Features
Smart Alerts
Realtime: receive instant notifications when a setup forms
Configurable Risk/Reward: set your preferred risk/reward ratio (default 1:3)
Session filter: focus signals during London (08:00-10:00) and New York (14:30-16:30) sessions
Stop Loss with buffer: configurable additional protection
Operating Modes
Realtime Mode: immediate alerts as soon as condition triggers (faster)
Confirmation Mode: alerts only on bar close (more reliable)
Visualization
FOB boxes with adjustable transparency
Optional midline to identify precise entry
Visual indicators (triangles) for long/short signals
This indicator implements the ICT (Inner Circle Trader) strategy using Fair Order Blocks (FOB) to identify demand and supply zones in the market. Optimized for XAUUSD (Gold) trading with real-time alerts.
🎯 How It Works
The indicator analyzes price movements to identify:
Bullish Fair Order Blocks: Zones where price left uncovered liquidity (gap) during an upward movement
Bearish Fair Order Blocks: Zones where price left uncovered liquidity during a downward movement
When price returns to these zones, the indicator generates:
📦 Colored boxes on the chart (green for long, red for short)
🔔 Real-time alerts with automatically calculated Entry, Stop Loss, and Take Profit
📍 Visual signals (triangles) to easily spot trading opportunities
⚙️ Key Features
Smart Alerts
Realtime: receive instant notifications when a setup forms
Configurable Risk/Reward: set your preferred risk/reward ratio (default 1:3)
Session filter: focus signals during London (08:00-10:00) and New York (14:30-16:30) sessions
Stop Loss with buffer: configurable additional protection
Operating Modes
Realtime Mode: immediate alerts as soon as condition triggers (faster)
Confirmation Mode: alerts only on bar close (more reliable)
Visualization
FOB boxes with adjustable transparency
Optional midline to identify precise entry
Visual indicators (triangles) for long/short signals
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน