Bitcoin CME gaps multi-timeframe auto finder1. Overview 
The Bitcoin CME Gap Multi-Timeframe Detector automatically identifies price gaps in the Bitcoin CME (Chicago Mercantile Exchange) futures market and visually displays them on the TradingView chart.
Because the CME futures market closes for about an hour after each weekday session and remains closed over the weekend, price gaps frequently appear when trading resumes on Monday.
This indicator analyzes gaps across six major timeframes, from 5-minute to 1-day charts, allowing traders to easily identify structural imbalances and potential support/resistance zones.
It is the most accurate and feature-rich CME gaps indicator available on TradingView.
 2. Key Features 
■ Multi-Timeframe Gap Detection
 
 Analyzes 5m, 15m, 30m, 1h, 4h, and 1D charts simultaneously.
 This enables traders to observe both short-term volatility and mid-to-long-term structure, providing a multi-dimensional view of market dynamics.
 
■ Gap Direction Classification
 
 Up Gap: When the next candle’s open is higher than the previous candle’s high (default color: green tone)
 Down Gap: When the next candle’s open is lower than the previous candle’s low (default color: red tone)
 Gaps are color-coded to intuitively visualize potential support and resistance zones.
 
■ Highlight Function
 
 Gaps exceeding a user-defined threshold (%) are highlighted (default color: yellow).
 This helps quickly identify zones with abnormal volatility or sharp price dislocations.
 
■ Labels and Box Extension
 
 Each gap displays a percentage label indicating its relative size and significance.
 Gap zones are extended to the right as boxes, allowing traders to visually track when and how the gap gets filled over time.
 
■ Alert System
 
 When a gap forms on the selected timeframe (or across all timeframes), a TradingView alert is triggered.
 This enables real-time response to significant gap events.
 
 3. Trading Strategies 
■ Gap Fill Behavior
CME gaps statistically tend to get filled over time.
Gap boxes help distinguish between filled and unfilled gaps at a glance.
 
 Up Gap: Price tends to decline to fill the previous high–next open zone.
 Down Gap: Price often rises later to fill the previous low–next open zone.
 
■ Support & Resistance Levels
Gap zones frequently act as strong support or resistance.
When price retests a gap area, observing the reaction of buyers and sellers can provide valuable trading insights.
Overlapping gap boxes across multiple timeframes indicate high-confidence support/resistance zones.
■ Market Sentiment & Volatility Analysis
Large gaps usually result from shifts in market sentiment or major news events.
This indicator allows traders to detect volatility spikes early and prepare for potential trend reversals.
■ Combination with Other Technical Tools
While fully functional on its own, this indicator works even better when combined with tools like moving averages (MA), RSI, MACD, or Fibonacci retracements.
For example, if the bottom of a gap coincides with the 0.618 Fibonacci level, it may signal a strong rebound zone.
 4. Settings Options 
Minimum Gap % | Sets the minimum percentage movement required to detect a gap (lower values show smaller gaps)
Display Timeframes | Choose which timeframes to display (5m, 15m, 30m, 1h, 4h, 1D)
Box Colors	 | Assign colors for up and down gaps
Box Extension (Bars)	| Number of bars to extend gap boxes to the right
Show Labels | Toggle display of gap percentage labels
Label Position / Size | Adjust label position and size
Highlight Gap ≥ % | Highlight gaps exceeding a specified percentage
Highlight Colors | Set highlight color for labels and boxes
Enable Alerts | Enable or disable alerts
Alert Timeframe | Select timeframe(s) for alerts (“All” = all timeframes)
 5. Summary 
This indicator is a professional trading tool that provides quantitative and visual analysis of price gaps in the Bitcoin CME futures market.
By combining multi-timeframe detection, highlighting, and alert systems, it helps traders clearly identify zones of market imbalance and potential reversal areas.
Cmegap
Bitcoin cme gap indicators, BINANCE vs CME exchanges premium gap 
# CME BTC Premium Indicator Documentation  CME:BTC1!  
## 1. Overview
Indicator Name: CME BTC Premium
Platform: TradingView (Pine Script v6)
Type: Premium / Gap Analysis
Purpose:
* Visualize the CME BTC futures premium/discount relative to Binance BTCUSDT spot price.
* Detect gap-up or gap-down events on the daily chart.
* Assess short-term market sentiment and potential volatility through price discrepancies.
## 2. Key Features
1. CME Premium Calculation
   * Formula:
   CME Premium(%) = ((CME Price - Binance Price) / Binance Price) X 100
   * Positive premium: CME futures are higher than spot → Color: Blue
   * Negative premium: CME futures are lower than spot → Color: Purple
2. Premium Visualization Options
   * `Column` (default)
   * `Line`
3. Daily Gap Detection (Daily Chart Only)
   * Gap Up: CME open > previous high × 1.0001 (≥ 0.01%)
   * Gap Down: CME open < previous low × 0.9999 (≤ 0.01%)
   * Visualization:
     * Bar Color:
       * Gap Up → Yellow (semi-transparent)
       * Gap Down → Blue (semi-transparent)
     * Background Color:
       * Gap Up → Yellow (semi-transparent)
       * Gap Down → Blue (semi-transparent)
4. Label Display
   * If `Show CME Label` is enabled, the last bar displays a premium percentage label.
   * Label color matches premium color; text color: Black.
   * Style: `style_label_upper_left`, Size: `small`.
## 3. User Inputs
| Option Name    | Description               | Type / Default                          |
| -------------- | ------------------------- | --------------------------------------- |
| Show CME Label | Display CME premium label | Boolean / true                          |
| CME Plot Type  | CME premium chart style   | String / Column (Options: Column, Line) |
## 4. Data Sources
| Data Item     | Symbol           | Description                   |
| ------------- | ---------------- | ----------------------------- |
| Binance Price | BINANCE\:BTCUSDT | Spot BTC price                |
| CME Price     | CME\:BTC1!       | CME BTC futures closing price |
| CME Open      | CME\:BTC1!       | CME BTC futures open price    |
| CME Low       | CME\:BTC1!       | CME BTC futures low price     |
| CME High      | CME\:BTC1!       | CME BTC futures high price    |
## 5. Chart Display
1. Premium Column/Line
   * Displays the CME premium percentage in real-time.
   * Color: Premium ≥ 0 → Blue, Premium < 0 → Purple
2. Zero Line
   * Indicates CME futures are at parity with spot for quick visual reference.
3. Gap Highlight
   * Applied only on daily charts.
   * Gap-up or gap-down is highlighted using bar and background colors.
4. Label
   * Shows the latest CME premium percentage for quick monitoring.
## 6. Use Cases
* Analyze spot-futures premium to gauge CME market sentiment.
* Identify short-term volatility and potential trend reversals through daily gaps.
* Combine premium and gap analysis to support altcoin trend analysis and position strategy.
## 7. Limitations
* This indicator does not provide investment advice or trading recommendations; it is for informational purposes only.
* Data delays, API restrictions, or exchange differences may result in calculation discrepancies.
* Gap detection is meaningful only on daily charts; other timeframes may not provide valid signals.

