OPEN-SOURCE SCRIPT
ICT Sweeps + FVG

🔹 What is an iFVG?
• FVG → imbalance left by displacement (big move).
• iFVG (Inversion FVG) → when price returns to that gap later and flips it:
• Bullish FVG (support) → broken → becomes resistance = bearish iFVG.
• Bearish FVG (resistance) → broken → becomes support = bullish iFVG.
That’s why ICT often says “FVG becomes inversion when violated”.
⸻
🔹 Why You Don’t See FVG/iFVG Now
• The script you’re using only coded sweeps (BSS/SSL).
• It didn’t include the logic to:
1. Detect displacement candles.
2. Mark the FVG zone.
3. Flip it if price trades through → iFVG.
• FVG → imbalance left by displacement (big move).
• iFVG (Inversion FVG) → when price returns to that gap later and flips it:
• Bullish FVG (support) → broken → becomes resistance = bearish iFVG.
• Bearish FVG (resistance) → broken → becomes support = bullish iFVG.
That’s why ICT often says “FVG becomes inversion when violated”.
⸻
🔹 Why You Don’t See FVG/iFVG Now
• The script you’re using only coded sweeps (BSS/SSL).
• It didn’t include the logic to:
1. Detect displacement candles.
2. Mark the FVG zone.
3. Flip it if price trades through → iFVG.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน