OPEN-SOURCE SCRIPT
Dubic EMA Strategy

The Dubic EMA Strategy is a trend-following and volatility-aware strategy that combines dual EMA filters with intelligent range and noise detection to provide clean, actionable entries. It's designed to avoid choppy markets, enhance trade precision, and adapt to different market conditions.
✅ Key Features:
Dual EMA Filter: Enters long when price is above both EMA High & EMA Low, and short when below both.
Range Filter: Avoids entries during tight consolidations or sideways markets.
Volatility Filter: Prevents trading in low-ATR conditions.
Dynamic Risk Management:
ATR-based or fixed % Stop Loss and Take Profit.
Optional Parabolic SAR trailing stop.
One Trade per Trend: Prevents re-entry until trend direction changes.
Unbroken Range Visualization: Detects and displays consolidation zones that can lead to breakouts.
Alerts & Labels: Clean BUY/SELL signals with alerts and chart labels.
🧩 Customization Options:
Adjustable EMA length
Toggle between ATR or % based SL/TP
Volatility threshold
Range detection sensitivity
Enable/disable SAR trailing stop
This strategy works best on trending assets and timeframes with volatility (e.g., crypto, forex, indices). Suitable for both manual trading and automation.
🛠️ Built for clarity, control, and precision.
📈 Backtest, optimize, and deploy with confidence.
✅ Key Features:
Dual EMA Filter: Enters long when price is above both EMA High & EMA Low, and short when below both.
Range Filter: Avoids entries during tight consolidations or sideways markets.
Volatility Filter: Prevents trading in low-ATR conditions.
Dynamic Risk Management:
ATR-based or fixed % Stop Loss and Take Profit.
Optional Parabolic SAR trailing stop.
One Trade per Trend: Prevents re-entry until trend direction changes.
Unbroken Range Visualization: Detects and displays consolidation zones that can lead to breakouts.
Alerts & Labels: Clean BUY/SELL signals with alerts and chart labels.
🧩 Customization Options:
Adjustable EMA length
Toggle between ATR or % based SL/TP
Volatility threshold
Range detection sensitivity
Enable/disable SAR trailing stop
This strategy works best on trending assets and timeframes with volatility (e.g., crypto, forex, indices). Suitable for both manual trading and automation.
🛠️ Built for clarity, control, and precision.
📈 Backtest, optimize, and deploy with confidence.
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.