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
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
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.
Script protegido
Esse script é publicada como código fechado. No entanto, você pode usar ele livremente e sem nenhuma limitação – saiba mais aqui.
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.