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. اقرأ المزيد في شروط الاستخدام.