OPEN-SOURCE SCRIPT
CME Bitcoin Weekend Gap (Global) @jerikoo

Description:
The Problem: You are watching the wrong hours. Many traders assume CME Bitcoin futures follow standard stock market hours or open Monday morning. This is incorrect.
Stock Market: Opens Monday morning.
CME Bitcoin: Opens Sunday Evening (US Time).
If you are in Europe, this means the market actually opens at Midnight (00:00) Monday. If you are waiting for the "Monday Morning Open," you are late.
The Solution: True Gap Detection This indicator highlights the exact downtime of the CME Bitcoin Futures market to help you identify true liquidity gaps.
Why this script is different: Most gap scripts break when you change your chart's time zone (e.g., switching from UTC to New York). This script is Universal.
Hardcoded Exchange Time: It calculates logic based on "America/Chicago" (CME HQ) time, regardless of your local chart settings.
Manual Offset Fix: Some data feeds have a +/- 1 or 2-hour sync difference depending on the broker. This script includes a "Hour Shift" setting to manually align the box perfectly to your specific candles.
How to use:
Add to your chart.
Look for the Dark Green highlighted zone.
This zone represents the Weekend Gap (Friday Close to Sunday Open).
Troubleshooting: If the box starts 1-2 hours too early or too late, go to Settings and change the "Hour Shift" value (e.g., -1, +1) until it snaps perfectly to the Friday close candle.
Technical Details:
CME Close: Friday 16:00 CT
CME Open: Sunday 17:00 CT
Color: Dark Green (50% Transparency)
Step 3: Categories & Tags
Select these options in the right-hand menu of the publishing page.
Category: Trend Analysis OR Bitcoin
Tags: CME Bitcoin BTC Gap Futures Weekend
Step 4: Final Checklist Before Clicking "Publish"
Load the Code: Make sure the "Manual Fix" version of the code (the last one I gave you) is currently open in the Pine Editor.
Add to Chart: You must click "Add to Chart" so the script is visible on your screen before publishing.
Privacy: Select Public (so others can search for it) or Private (if you only want to share the link).
Visibility: Choose Open (so others can see the code) or Protected (if you want to hide the code, though Open is better for simple scripts like this).
The Problem: You are watching the wrong hours. Many traders assume CME Bitcoin futures follow standard stock market hours or open Monday morning. This is incorrect.
Stock Market: Opens Monday morning.
CME Bitcoin: Opens Sunday Evening (US Time).
If you are in Europe, this means the market actually opens at Midnight (00:00) Monday. If you are waiting for the "Monday Morning Open," you are late.
The Solution: True Gap Detection This indicator highlights the exact downtime of the CME Bitcoin Futures market to help you identify true liquidity gaps.
Why this script is different: Most gap scripts break when you change your chart's time zone (e.g., switching from UTC to New York). This script is Universal.
Hardcoded Exchange Time: It calculates logic based on "America/Chicago" (CME HQ) time, regardless of your local chart settings.
Manual Offset Fix: Some data feeds have a +/- 1 or 2-hour sync difference depending on the broker. This script includes a "Hour Shift" setting to manually align the box perfectly to your specific candles.
How to use:
Add to your chart.
Look for the Dark Green highlighted zone.
This zone represents the Weekend Gap (Friday Close to Sunday Open).
Troubleshooting: If the box starts 1-2 hours too early or too late, go to Settings and change the "Hour Shift" value (e.g., -1, +1) until it snaps perfectly to the Friday close candle.
Technical Details:
CME Close: Friday 16:00 CT
CME Open: Sunday 17:00 CT
Color: Dark Green (50% Transparency)
Step 3: Categories & Tags
Select these options in the right-hand menu of the publishing page.
Category: Trend Analysis OR Bitcoin
Tags: CME Bitcoin BTC Gap Futures Weekend
Step 4: Final Checklist Before Clicking "Publish"
Load the Code: Make sure the "Manual Fix" version of the code (the last one I gave you) is currently open in the Pine Editor.
Add to Chart: You must click "Add to Chart" so the script is visible on your screen before publishing.
Privacy: Select Public (so others can search for it) or Private (if you only want to share the link).
Visibility: Choose Open (so others can see the code) or Protected (if you want to hide the code, though Open is better for simple scripts like this).
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.