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
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.