Strategies / S53
Trailing Stop Trend
A 20/50 trend entry; a 3 ATR trail decides the exit.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +65.5% | +602% | 0.43 | -50.1% | 32.9% | 413 |
| Stocks, 1d | +304% | +28K% | 0.70 | -19.3% | 45.2% | 520 |
| Forex, 1d | -7.4% | +3.1% | -0.09 | -21.9% | 39.0% | 328 |
| Commodities, 1d | +56.9% | +1,833% | 0.26 | -17.4% | 39.2% | 309 |
| Indices, 1d | +74.9% | +878% | 0.42 | -16.3% | 46.9% | 290 |
The exact rule
- Go long when EMA(20) crosses above EMA(50).
- Stop: 3 ATR(14) from entry.
- The stop trails 3 ATR(14) behind the last close.
- 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
Time Exit MomentumBuy a 20-bar high and simply leave after ten bars.ATR Stop Long & ShortTrend flips with a 2 ATR stop on every position.Bracket TrendA trend entry with a fixed +6% target and -3% stop.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.