OPEN-SOURCE SCRIPT
BTC CME Weekend Gap Tracker

BTC CME Weekend Gap Tracker
Automatically detects and tracks weekend gaps on CME Bitcoin futures (BTC1!). When CME closes Friday evening and reopens Sunday/Monday, any price movement in spot during that window creates a gap — this indicator marks those gaps directly on your chart.
What it shows
Red boxes — weekend gap down (CME reopened lower than Friday close)
Green boxes — weekend gap up (CME reopened higher than Friday close)
Gray boxes — filled gaps (price has since traded back through the range)
Key features
Weekend-only filter — ignores daily maintenance gaps, only tracks the meaningful Friday-to-Monday gaps (and extended holiday closures)
Price levels labeled at the right edge of each unfilled gap so you can see exact gap boundaries at a glance
Date and percentage size shown inside each box
Unfilled gaps extend right until filled, then fade to gray
Stats table tracking total gaps, fill rate, gap-up vs gap-down fill rates, average fill time, and average gap size
How to use
Apply to any BTC chart (BTCUSD, BTCUSDT, BTCUSDT.P) on daily or intraday timeframes. The script pulls CME data automatically. Use unfilled gaps as potential price targets — historically, the majority of CME gaps fill over time, though large gaps in strong trends can remain open for extended periods.
Settings
Minimum gap size threshold (filter noise)
Max bars to track (history depth)
Toggle price levels, percentages, and dates independently
Customize gap colors
Alerts
Two alert conditions included: new weekend gap up and new weekend gap down. Set these up to get notified when CME reopens Monday with a gap.
Automatically detects and tracks weekend gaps on CME Bitcoin futures (BTC1!). When CME closes Friday evening and reopens Sunday/Monday, any price movement in spot during that window creates a gap — this indicator marks those gaps directly on your chart.
What it shows
Red boxes — weekend gap down (CME reopened lower than Friday close)
Green boxes — weekend gap up (CME reopened higher than Friday close)
Gray boxes — filled gaps (price has since traded back through the range)
Key features
Weekend-only filter — ignores daily maintenance gaps, only tracks the meaningful Friday-to-Monday gaps (and extended holiday closures)
Price levels labeled at the right edge of each unfilled gap so you can see exact gap boundaries at a glance
Date and percentage size shown inside each box
Unfilled gaps extend right until filled, then fade to gray
Stats table tracking total gaps, fill rate, gap-up vs gap-down fill rates, average fill time, and average gap size
How to use
Apply to any BTC chart (BTCUSD, BTCUSDT, BTCUSDT.P) on daily or intraday timeframes. The script pulls CME data automatically. Use unfilled gaps as potential price targets — historically, the majority of CME gaps fill over time, though large gaps in strong trends can remain open for extended periods.
Settings
Minimum gap size threshold (filter noise)
Max bars to track (history depth)
Toggle price levels, percentages, and dates independently
Customize gap colors
Alerts
Two alert conditions included: new weekend gap up and new weekend gap down. Set these up to get notified when CME reopens Monday with a gap.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.
Open-source Skript
Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun auch andere Trader das Script rezensieren und die Funktionalität überprüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden, aber eine Wiederveröffentlichung des Codes unterliegt unseren Hausregeln.
Haftungsausschluss
Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.