OPEN-SOURCE SCRIPT
Multi-Timeframe HTF FVG + Midpoints

An open-source multi-timeframe Fair Value Gap indicator with midpoints and mitigation logic.
Detects and displays higher-timeframe FVGs (hourly to daily), draws stable fixed-width gap boxes, and plots midpoint levels with clean labels. Built specifically to solve common MTF rendering issues — FVGs remain persistent and properly aligned across timeframe changes.
Features:
- Bullish & bearish HTF FVG detection (1H, 2H, 3H, 4H, 1D)
- Persistent boxes across timeframe intervals
- Midpoint lines and labels
- Multi-timeframe structure display
- Mitigation tracking
- Optional mitigated-zone visibility
Notes:
• For charting and study purposes only
• Not financial advice
• Open source by design — modify and adapt as needed
Detects and displays higher-timeframe FVGs (hourly to daily), draws stable fixed-width gap boxes, and plots midpoint levels with clean labels. Built specifically to solve common MTF rendering issues — FVGs remain persistent and properly aligned across timeframe changes.
Features:
- Bullish & bearish HTF FVG detection (1H, 2H, 3H, 4H, 1D)
- Persistent boxes across timeframe intervals
- Midpoint lines and labels
- Multi-timeframe structure display
- Mitigation tracking
- Optional mitigated-zone visibility
Notes:
• For charting and study purposes only
• Not financial advice
• Open source by design — modify and adapt as needed
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.