OPEN-SOURCE SCRIPT

Dubic EMA Strategy

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

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。