Built-in 200 EMA macro trend filter
Dual EMA 9/21 Trend Crossover
by Backpulse Quant Lab ✓
The time-tested dual exponential moving average strategy using 9-period fast EMA and 21-period slow EMA with 200 EMA macro trend direction filtering.
Strategy performanceTick data
Past results do not guarantee future performance.
Beginner and intermediate algorithmic traders seeking clean, transparent trend logic.
Lowest calculation overhead for high-frequency bots
Sub-300ms webhook alert triggers for all exchanges
Optimal parameter settings
Discovered across 50,000+ historical simulations on real tick data, with fees and slippage included.
Fast moving average lookback.
Slow moving average lookback.
Long-term trend baseline filter.
Use this strategy
Copy the code into TradingView, or send its alerts straight to your exchange.
Add it to TradingView
- Copy the codeUse the button above
- Open the Pine EditorPaste it and press Save
- Add to chartStrategy Tester shows the history
Send alerts straight to your exchange
Paste the JSON payload into a TradingView alert. Orders execute within 300ms on your connected exchange.
Similar strategies.
Compared with Dual EMA Crossover (61.5% win rate).
Backtest and automate Dual EMA Crossover.
Test 20,000 parameter combinations in seconds and auto-execute the signals on your exchange.
Backtested results are hypothetical and do not guarantee future performance. Trading involves substantial risk of loss.