Strategies / S16
DI Cross
Long while +DI leads -DI.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +258% | +602% | 0.67 | -63.8% | 27.0% | 1,886 |
| Stocks, 1d | +3,002% | +28K% | 1.06 | -29.6% | 37.4% | 2,680 |
| Forex, 1d | -7.3% | +3.1% | -0.05 | -23.3% | 30.7% | 1,782 |
| Commodities, 1d | +144% | +1,833% | 0.31 | -46.4% | 33.0% | 1,620 |
| Indices, 1d | +193% | +878% | 0.53 | -22.6% | 35.4% | 1,607 |
The exact rule
- Go long when +DI(14) crosses above -DI(14).
- Exit the long when +DI(14) crosses below -DI(14).
- 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
Trend + MACDMACD entries, allowed only above the 200 SMA.EMA 9/21 CrossLong while the 9 EMA is above the 21 EMA.EMA 9/21 Long & ShortAlways in the market, on the side of the 9/21 EMA cross.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.