Strategies / S15
ADX Trend Filter
An EMA trend, taken only when ADX says a trend exists.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +89.2% | +602% | 0.45 | -66.5% | 32.0% | 297 |
| Stocks, 1d | +1,875% | +28K% | 1.03 | -22.3% | 47.5% | 335 |
| Forex, 1d | +3.9% | +3.1% | 0.06 | -17.1% | 32.3% | 198 |
| Commodities, 1d | +85.4% | +1,833% | 0.25 | -42.9% | 36.1% | 208 |
| Indices, 1d | +120% | +878% | 0.43 | -20.2% | 41.9% | 179 |
The exact rule
- Go long when EMA(20) is above EMA(50) and ADX(14) is above 25.
- Exit the long when EMA(20) is below EMA(50).
- Declared timeframe: 1d.
Explain it with Ask AI (Premium, on a desktop)
Watch it trade
This runs the same engine in your browser on the latest candles, with your own costs. Press Replay to watch every entry and exit arrive bar by bar.
Download
Pine ScriptFor TradingView
Paper botRuns on the Bot API, no real money
Python backtestOne file, no dependencies
READMEThe rule in plain words
Want it to run by itself? Read the automate guide, and use paper money first.
Related strategies
DI CrossLong while +DI leads -DI.Trend + MACDMACD entries, allowed only above the 200 SMA.EMA 9/21 CrossLong while the 9 EMA is above the 21 EMA.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.