PROTECTED SOURCE SCRIPT

DB - CME Gap [Multi Asset Auto Detection: BTC,SOL, etc]

164
DB - CME Gap [Multi Asset Auto Detection] is a pro-grade, zero-maintenance CME gap tracker designed for serious traders.

This script automatically detects unfilled CME futures gaps across a wide range of assets—crypto, equities, bonds, commodities, FX, and agriculture—by pulling the official Friday close from CME’s daily futures data. It visually highlights unfilled weekend gaps and keeps them active on the chart until the price fully crosses through the gap level, offering a reliable view of market inefficiencies that often attract future liquidity.

Whether you're trading BTC, ES, CL, ZN, 6E, or ZC... this tool auto-detects and adjusts to the asset you're charting, so you don’t need to change any settings.

🧠 Key Benefits
Fully Automated – No symbol selection required; works instantly across asset classes

Professional Grade – Clean, minimal visuals with dynamic gap tracking

Always Accurate – Uses CME official daily closes to identify true weekend gaps

Cross-Market Versatility – Supports a broad range of assets without editing code

✅ Features
🔍 Auto Symbol Detection
Automatically identifies whether you're viewing BTC, ETH, SOL, ES, NQ, CL, ZN, 6E, GC, ZC, and more—no input required.

📅 CME Friday Close Logic
Pulls the actual Friday close from CME's daily data to detect accurate gap reference points.

🚨 Weekend Gap Detection
Monitors Friday after-hours, Saturday, and Sunday to detect gaps between CME close and weekend price action.

🧠 Persistent Gap Tracking
Gaps remain active until price fully crosses the gap level—no false closures.

📈 Dynamic Line Drawing
Draws a horizontal line at the gap price and extends it to the point of fill.

🌈 Custom Gradient Shading
Fills the area between the current price and the CME gap with directional color gradients based on price movement.

🎨 User-Configurable Colors
Adjust bull and bear fill color themes to suit your personal style.

🧩 Compatible with All Major Asset Classes
Works with:

Crypto: BTC, ETH, SOL

Equities: ES, NQ, YM, MES, MNQ

Bonds & Rates: ZN, ZB, ZF, ZT, GE

Commodities: CL, GC, NG, BZ, SI

FX: 6E, 6J, 6B

Ags: ZC (Corn), ZS (Soybeans)

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.