OPEN-SOURCE SCRIPT

Dubic EMA Strategy

682
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.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.