OPEN-SOURCE SCRIPT
HTF Supply & Demand Zones

HTF Supply & Demand Zones
Displays higher-timeframe (default 15m) supply and demand zones directly on your lower timeframe execution chart (e.g. 3m). Ideal for traders who identify zones on the 15m and execute on the 3m.
How zones are identified:
Demand zone (green): body of the last bearish candle before a strong bullish impulse move on the HTF
Supply zone (red): body of the last bullish candle before a strong bearish impulse move on the HTF
Features:
No repainting — only uses confirmed, closed HTF bars
ATR-based impulse filter (adjustable)
Zones fade when tested, disappear when broken
Configurable lookback, zone count, colors, and extend length
Built-in alerts for when price enters a zone
Works on any symbol and any timeframe combination
Displays higher-timeframe (default 15m) supply and demand zones directly on your lower timeframe execution chart (e.g. 3m). Ideal for traders who identify zones on the 15m and execute on the 3m.
How zones are identified:
Demand zone (green): body of the last bearish candle before a strong bullish impulse move on the HTF
Supply zone (red): body of the last bullish candle before a strong bearish impulse move on the HTF
Features:
No repainting — only uses confirmed, closed HTF bars
ATR-based impulse filter (adjustable)
Zones fade when tested, disappear when broken
Configurable lookback, zone count, colors, and extend length
Built-in alerts for when price enters a zone
Works on any symbol and any timeframe combination
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์แบบโอเพนซอร์ส
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน