OPEN-SOURCE SCRIPT
Smart Composite Strategy {Darkoexe}

This strategy is a multi-confirmation trend-based system that combines several powerful community concepts into a cohesive trade automation framework. It’s designed to help identify high-probability directional trades with built-in dynamic exits, take-profits, and intelligent trend filters.
🧩 What Makes It Unique
Rather than relying on a single signal or open-source indicator, this strategy blends three well-established concepts:
G-Trend Reversal Detection – A trailing ATR-based trend switch logic to determine core market direction.
Bull/Bear Candle Momentum Filter – Counts candle colors over a lookback period to evaluate directional conviction.
Multi-timeframe CCI Rider & Ultimate RSI – Uses smoothed momentum values to confirm continuation and strength.
Trades are only entered when all modules are in agreement — filtering out noisy entries and aligning with prevailing momentum.
⚙️ Strategy Components
Entry Triggers:
A confirmed trend switch via G-Trend logic.
Favorable bullish or bearish candle momentum.
Multi-timeframe momentum alignment using:
CCI EMA
Augmented RSI signal line
Exits:
Optional G-Trend signal reversal exit.
Configurable stop-loss and take-profit levels, based on percentages.
Partial TP1-based exit, with dynamic stop-loss movement to entry upon trigger.
Customization:
Backtesting window control (start/end date).
Toggle for stop loss, take profit, TP1 percent, and SL trail logic.
Toggle to use or skip trend-based exit logic.
🎯 Use Case
This strategy is best suited for:
Swing traders or intraday trend-followers.
Users wanting layered confirmation rather than single-indicator entries.
Markets with clear institutional flows or trending behavior.
⚠️ Notes & Limitations
This strategy uses components from other publicly available indicators, including:
G-Trend
CCI Rider by Stefan Loosli
Ultimate RSI by LuxAlgo
All code has been integrated and adapted into a unified logic tree.
The strategy operates using historical price data and may not account for real-time slippage or fees.
Always forward test in live or paper environments before relying on performance.
🧩 What Makes It Unique
Rather than relying on a single signal or open-source indicator, this strategy blends three well-established concepts:
G-Trend Reversal Detection – A trailing ATR-based trend switch logic to determine core market direction.
Bull/Bear Candle Momentum Filter – Counts candle colors over a lookback period to evaluate directional conviction.
Multi-timeframe CCI Rider & Ultimate RSI – Uses smoothed momentum values to confirm continuation and strength.
Trades are only entered when all modules are in agreement — filtering out noisy entries and aligning with prevailing momentum.
⚙️ Strategy Components
Entry Triggers:
A confirmed trend switch via G-Trend logic.
Favorable bullish or bearish candle momentum.
Multi-timeframe momentum alignment using:
CCI EMA
Augmented RSI signal line
Exits:
Optional G-Trend signal reversal exit.
Configurable stop-loss and take-profit levels, based on percentages.
Partial TP1-based exit, with dynamic stop-loss movement to entry upon trigger.
Customization:
Backtesting window control (start/end date).
Toggle for stop loss, take profit, TP1 percent, and SL trail logic.
Toggle to use or skip trend-based exit logic.
🎯 Use Case
This strategy is best suited for:
Swing traders or intraday trend-followers.
Users wanting layered confirmation rather than single-indicator entries.
Markets with clear institutional flows or trending behavior.
⚠️ Notes & Limitations
This strategy uses components from other publicly available indicators, including:
G-Trend
CCI Rider by Stefan Loosli
Ultimate RSI by LuxAlgo
All code has been integrated and adapted into a unified logic tree.
The strategy operates using historical price data and may not account for real-time slippage or fees.
Always forward test in live or paper environments before relying on performance.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.
Script open-source
In pieno spirito TradingView, il creatore di questo script lo ha reso open-source, in modo che i trader possano esaminarlo e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricorda che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.