PROTECTED SOURCE SCRIPT
BTC Future CME Cross-Market Detector

Project Spec: BTC CME Cross-Market Detector
1. Project Overview
Indicator Name
CME Cross-Market Detector
Objective
To identify high-probability trade setups by detecting and confirming "smart money" activity across two distinct market venues simultaneously: a primary crypto exchange (e.g., Bybit, Binance) and the institutional CME futures market.
Core Philosophy
Price movements are often preceded by the positioning of large, institutional players ("smart money"). While their activity can be seen on any single exchange, the signal becomes exceptionally reliable when the same footprint appears at the same time in both the broader crypto derivatives market and the highly regulated institutional futures market. This dual-market confirmation acts as a powerful noise filter, isolating signals that have a higher probability of follow-through.
2. Key Concepts & Signal Logic
The indicator's entire foundation rests on confirming that specific conditions are met on two datasets at the same time: (1) The user's current chart (e.g., BYBIT:BTCUSDT) and (2) The CME Bitcoin Futures chart (CME:BTC1!).
Smart Volume Analysis
To gauge buying vs. selling pressure, the total volume of a single candle is algorithmically split. This is not a perfect science but an effective estimation based on the candle's structure.
Buying Pressure is considered proportional to the distance the price closed from the low. Buying Pressure ≈ Total Volume × ((Close - Low) / (High - Low))
Selling Pressure is considered proportional to the distance the price closed from the high. Selling Pressure ≈ Total Volume × ((High - Close) / (High - Low))
Signal Trigger Conditions
For a potential signal to be identified on each market independently, two conditions must be met:
Volume Spike: The volume of the current candle must be significantly higher than the recent average volume (e.g., >150% of the 20-period moving average). This shows a sudden, high level of interest.
Pressure Imbalance: The estimated buying pressure must overwhelm the selling pressure by a certain factor (e.g., 3x), or vice versa for a sell signal. This indicates a clear directional intent.
The Final Confirmed Signal
A signal is only considered valid and plotted on the chart when the Signal Trigger Conditions (both Volume Spike and Pressure Imbalance) are met on both the primary chart and the CME chart on the very same candle.
3. Signal Strength Calculation
The percentage shown on the chart is a Signal Strength Score (0-100%), which rates the quality and conviction of the confirmed signal.
The score is calculated as follows:
Base Score Calculation (0-100 points): A base score is calculated for each market (primary and CME) by combining two factors:
Volume Component (0-50 pts): Measures the intensity of the volume spike. A 300% volume spike will score higher than a 150% spike.
Imbalance Component (0-50 pts): Measures the intensity of the buy/sell pressure ratio. A 5x imbalance will score higher than a 3x imbalance.
Advanced Modifiers (Bonus Points): The base score is then enhanced with bonus points for favorable conditions:
Trend Alignment (+10 pts): A buy signal that occurs during a clear uptrend receives extra points.
Candle Structure (+10 pts): A buy signal on a candle with a long lower wick (indicating rejection of lower prices) receives extra points.
Final Averaged Score: The final percentage you see is the average of the two individual strength scores calculated for the primary exchange and the CME market.
4. Visualization
Energy Waves: Signals are displayed as circles. Green for Buy Signals (below the candle) and Red for Sell Signals (above the candle).
Dynamic Sizing: The size of the circle directly reflects the Signal Strength Score, categorized into four distinct levels (e.g., 10%+, 40%+, 60%+, and 80%+) for at-a-glance interpretation.
Percentage Labels: Each signal is plotted with its precise, final strength score for clear analysis.
5. Summary: Steps to Replicate the Logic
To recreate this indicator, follow these high-level steps for each candle on the chart:
Gather Data: Fetch the Open, High, Low, Close, and Volume data for the primary chart asset AND for the corresponding CME Bitcoin Futures symbol (CME:BTC1!).
Calculate Buy/Sell Pressure: For both datasets, use the "Smart Volume Analysis" formula to estimate the buying and selling pressure for the current candle.
Check for Volume Spikes: For both datasets, calculate a simple moving average of the volume. Check if the current candle's volume exceeds this average by a set threshold (e.g., 150%).
Check for Pressure Imbalance: For both datasets, check if the buying pressure is greater than the selling pressure by a set multiplier (e.g., 3.0), or vice versa.
Confirm the Signal: A final signal is only valid if the conditions from both Step 3 and Step 4 are true for both datasets on the same candle.
Calculate Strength: If a signal is confirmed, compute a strength score (0-100) for each dataset based on the intensity of the volume spike and pressure imbalance. Add bonus points for confluence factors like trend alignment.
Finalize and Plot: Average the two strength scores from each market. Plot a colored, sized circle on the chart that visually represents this final averaged score, and display the score as a text label.
Last but not least, the idea of the indicator is inspired by 52SIGNAL
1. Project Overview
Indicator Name
CME Cross-Market Detector
Objective
To identify high-probability trade setups by detecting and confirming "smart money" activity across two distinct market venues simultaneously: a primary crypto exchange (e.g., Bybit, Binance) and the institutional CME futures market.
Core Philosophy
Price movements are often preceded by the positioning of large, institutional players ("smart money"). While their activity can be seen on any single exchange, the signal becomes exceptionally reliable when the same footprint appears at the same time in both the broader crypto derivatives market and the highly regulated institutional futures market. This dual-market confirmation acts as a powerful noise filter, isolating signals that have a higher probability of follow-through.
2. Key Concepts & Signal Logic
The indicator's entire foundation rests on confirming that specific conditions are met on two datasets at the same time: (1) The user's current chart (e.g., BYBIT:BTCUSDT) and (2) The CME Bitcoin Futures chart (CME:BTC1!).
Smart Volume Analysis
To gauge buying vs. selling pressure, the total volume of a single candle is algorithmically split. This is not a perfect science but an effective estimation based on the candle's structure.
Buying Pressure is considered proportional to the distance the price closed from the low. Buying Pressure ≈ Total Volume × ((Close - Low) / (High - Low))
Selling Pressure is considered proportional to the distance the price closed from the high. Selling Pressure ≈ Total Volume × ((High - Close) / (High - Low))
Signal Trigger Conditions
For a potential signal to be identified on each market independently, two conditions must be met:
Volume Spike: The volume of the current candle must be significantly higher than the recent average volume (e.g., >150% of the 20-period moving average). This shows a sudden, high level of interest.
Pressure Imbalance: The estimated buying pressure must overwhelm the selling pressure by a certain factor (e.g., 3x), or vice versa for a sell signal. This indicates a clear directional intent.
The Final Confirmed Signal
A signal is only considered valid and plotted on the chart when the Signal Trigger Conditions (both Volume Spike and Pressure Imbalance) are met on both the primary chart and the CME chart on the very same candle.
3. Signal Strength Calculation
The percentage shown on the chart is a Signal Strength Score (0-100%), which rates the quality and conviction of the confirmed signal.
The score is calculated as follows:
Base Score Calculation (0-100 points): A base score is calculated for each market (primary and CME) by combining two factors:
Volume Component (0-50 pts): Measures the intensity of the volume spike. A 300% volume spike will score higher than a 150% spike.
Imbalance Component (0-50 pts): Measures the intensity of the buy/sell pressure ratio. A 5x imbalance will score higher than a 3x imbalance.
Advanced Modifiers (Bonus Points): The base score is then enhanced with bonus points for favorable conditions:
Trend Alignment (+10 pts): A buy signal that occurs during a clear uptrend receives extra points.
Candle Structure (+10 pts): A buy signal on a candle with a long lower wick (indicating rejection of lower prices) receives extra points.
Final Averaged Score: The final percentage you see is the average of the two individual strength scores calculated for the primary exchange and the CME market.
4. Visualization
Energy Waves: Signals are displayed as circles. Green for Buy Signals (below the candle) and Red for Sell Signals (above the candle).
Dynamic Sizing: The size of the circle directly reflects the Signal Strength Score, categorized into four distinct levels (e.g., 10%+, 40%+, 60%+, and 80%+) for at-a-glance interpretation.
Percentage Labels: Each signal is plotted with its precise, final strength score for clear analysis.
5. Summary: Steps to Replicate the Logic
To recreate this indicator, follow these high-level steps for each candle on the chart:
Gather Data: Fetch the Open, High, Low, Close, and Volume data for the primary chart asset AND for the corresponding CME Bitcoin Futures symbol (CME:BTC1!).
Calculate Buy/Sell Pressure: For both datasets, use the "Smart Volume Analysis" formula to estimate the buying and selling pressure for the current candle.
Check for Volume Spikes: For both datasets, calculate a simple moving average of the volume. Check if the current candle's volume exceeds this average by a set threshold (e.g., 150%).
Check for Pressure Imbalance: For both datasets, check if the buying pressure is greater than the selling pressure by a set multiplier (e.g., 3.0), or vice versa.
Confirm the Signal: A final signal is only valid if the conditions from both Step 3 and Step 4 are true for both datasets on the same candle.
Calculate Strength: If a signal is confirmed, compute a strength score (0-100) for each dataset based on the intensity of the volume spike and pressure imbalance. Add bonus points for confluence factors like trend alignment.
Finalize and Plot: Average the two strength scores from each market. Plot a colored, sized circle on the chart that visually represents this final averaged score, and display the score as a text label.
Last but not least, the idea of the indicator is inspired by 52SIGNAL
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Protected script
This script is published as closed-source. However, you can use it freely and without any limitations – learn more here.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.