PROTECTED SOURCE SCRIPT
CP Double Cross

CakeProfits Double Moving Average Signals
This indicator is a refined double Special Moving Average system with integrated trend confirmation, cooldown suppression, alerts, and visual feedback.
🔹 Core Features
Double Special Moving Averages (Fast & Slow) to identify precise crossovers.
Trend EMA filter (default 800 EMA) to align signals with higher-timeframe trend.
Signal Suppression / Cooldown to avoid back-to-back false signals (user-defined bars).
Long & Sort Labels plotted directly on the chart (Long = Go long, Short = Go Short).
Alerts ready for both bullish and bearish crossover confirmations.
Background Visuals (Toggle) – highlights active cooldown zones with soft green/red shades, easily switched ON/OFF.
🔹 How It Works
A Bullish Signal (Long) fires when the Fast MA crosses above the Slow MA, slope is confirmed, and price is above the trend EMA.
A Bearish Signal (Short) fires when the fast MA crosses below the slow MA, slope is confirmed, and price is below the trend EMA.
After a signal, the indicator enters a cooldown period (number of bars set by the user) where no new signals can appear, helping to reduce noise.
During cooldown, the chart background can be shaded (green for bullish, red for bearish) for quick visual confirmation.
🔹 Inputs
MA Lengths (Slow & Fast)
Trend EMA Length & Source
Bars to Suppress Signals (cooldown)
Background Toggle & Colors
✅ Best used as a confirmation tool for entries/exits alongside broader strategy and risk management.
⚠️ Disclaimer: This script is for educational purposes only and not financial advice.
This indicator is a refined double Special Moving Average system with integrated trend confirmation, cooldown suppression, alerts, and visual feedback.
🔹 Core Features
Double Special Moving Averages (Fast & Slow) to identify precise crossovers.
Trend EMA filter (default 800 EMA) to align signals with higher-timeframe trend.
Signal Suppression / Cooldown to avoid back-to-back false signals (user-defined bars).
Long & Sort Labels plotted directly on the chart (Long = Go long, Short = Go Short).
Alerts ready for both bullish and bearish crossover confirmations.
Background Visuals (Toggle) – highlights active cooldown zones with soft green/red shades, easily switched ON/OFF.
🔹 How It Works
A Bullish Signal (Long) fires when the Fast MA crosses above the Slow MA, slope is confirmed, and price is above the trend EMA.
A Bearish Signal (Short) fires when the fast MA crosses below the slow MA, slope is confirmed, and price is below the trend EMA.
After a signal, the indicator enters a cooldown period (number of bars set by the user) where no new signals can appear, helping to reduce noise.
During cooldown, the chart background can be shaded (green for bullish, red for bearish) for quick visual confirmation.
🔹 Inputs
MA Lengths (Slow & Fast)
Trend EMA Length & Source
Bars to Suppress Signals (cooldown)
Background Toggle & Colors
✅ Best used as a confirmation tool for entries/exits alongside broader strategy and risk management.
⚠️ Disclaimer: This script is for educational purposes only and not financial advice.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script protegido
Este script se publica como código cerrado. Sin embargo, puede utilizarlo libremente y sin limitaciones: obtenga más información aquí.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.