OPEN-SOURCE SCRIPT
Relevant Order Blocks Detector (BOS + Displacement)

This indicator is designed to identify only the most relevant Order Blocks, filtering out market noise and low-quality zones.
It detects Order Blocks based on real Break of Structure (BOS) combined with strong displacement, ensuring that each marked zone represents institutional activity rather than random price movement.
A Bullish Order Block is formed when the last bearish candle before a strong bullish impulse breaks the previous structure high.
A Bearish Order Block is formed when the last bullish candle before a strong bearish impulse breaks the previous structure low.
Only Order Blocks that meet strict strength and structure conditions are displayed, making the indicator ideal for scalping, intraday trading, and CRT-based strategies.
Key Features:
Break of Structure (BOS) confirmation
Strong impulse (displacement) filter
Noise reduction (high-quality OBs only)
Clean and minimal chart visualization
Suitable for 5m, 15m, and 1H timeframes
This tool is best used in confluence with liquidity sweeps, FVGs, and session timing rather than as a standalone signal.
It detects Order Blocks based on real Break of Structure (BOS) combined with strong displacement, ensuring that each marked zone represents institutional activity rather than random price movement.
A Bullish Order Block is formed when the last bearish candle before a strong bullish impulse breaks the previous structure high.
A Bearish Order Block is formed when the last bullish candle before a strong bearish impulse breaks the previous structure low.
Only Order Blocks that meet strict strength and structure conditions are displayed, making the indicator ideal for scalping, intraday trading, and CRT-based strategies.
Key Features:
Break of Structure (BOS) confirmation
Strong impulse (displacement) filter
Noise reduction (high-quality OBs only)
Clean and minimal chart visualization
Suitable for 5m, 15m, and 1H timeframes
This tool is best used in confluence with liquidity sweeps, FVGs, and session timing rather than as a standalone signal.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน