OPEN-SOURCE SCRIPT
ICT SMC — OB & FVG (Enhanced v6)

This indicator is a comprehensive implementation of ICT Smart Money Concepts (SMC), focusing on Order Blocks (OB) and Fair Value Gaps (FVG) with enhanced detection logic and session-based filtering.
🔍 Key Features
Impulse-Based OB Detection: Identifies bullish and bearish order blocks using configurable impulse bar logic and ATR-based movement thresholds.
Fair Value Gap Detection: Highlights FVGs based on price displacement logic, helping traders spot potential inefficiencies in price action.
Session Filtering: Allows users to filter signals based on major trading sessions (Sydney, Tokyo, London, New York).
Trend & Volume Confirmation: Integrates EMA slope, market structure breaks, and volume analysis to score trade signals.
Visual Zones: Displays OB and FVG zones using colored boxes with customizable transparency and color settings.
Signal Alerts: Generates long/short trade signals based on a scoring system and session validation, with built-in alert conditions.
⚙️ Customization
Adjustable EMA and ATR lengths
Configurable impulse bar count and movement thresholds
Toggleable session filters
Custom colors for OB and FVG zones
📈 Use Cases
This tool is ideal for traders who follow ICT concepts and want a visual, automated way to identify high-probability zones and trade setups based on smart money principles.
🔍 Key Features
Impulse-Based OB Detection: Identifies bullish and bearish order blocks using configurable impulse bar logic and ATR-based movement thresholds.
Fair Value Gap Detection: Highlights FVGs based on price displacement logic, helping traders spot potential inefficiencies in price action.
Session Filtering: Allows users to filter signals based on major trading sessions (Sydney, Tokyo, London, New York).
Trend & Volume Confirmation: Integrates EMA slope, market structure breaks, and volume analysis to score trade signals.
Visual Zones: Displays OB and FVG zones using colored boxes with customizable transparency and color settings.
Signal Alerts: Generates long/short trade signals based on a scoring system and session validation, with built-in alert conditions.
⚙️ Customization
Adjustable EMA and ATR lengths
Configurable impulse bar count and movement thresholds
Toggleable session filters
Custom colors for OB and FVG zones
📈 Use Cases
This tool is ideal for traders who follow ICT concepts and want a visual, automated way to identify high-probability zones and trade setups based on smart money principles.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน