Strategies / S04
Golden Cross
Long while the 50 SMA is above the 200 SMA.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | -29.5% | +602% | 0.06 | -66.8% | 18.5% | 135 |
| Stocks, 1d | +4,287% | +28K% | 1.02 | -32.4% | 51.0% | 151 |
| Forex, 1d | -4.8% | +3.1% | -0.04 | -13.1% | 29.8% | 104 |
| Commodities, 1d | +517% | +1,833% | 0.54 | -31.5% | 40.9% | 93 |
| Indices, 1d | +621% | +878% | 0.74 | -32.8% | 57.0% | 79 |
The exact rule
- Go long when SMA(50) crosses above SMA(200).
- Exit the long when SMA(50) crosses below SMA(200).
- 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
SMA 20/50 CrossThe classic moving-average cross on simple averages.Price Above SMA 50Long while price closes above the 50-day average.Price Above SMA 200The simplest trend filter there is: above the 200-day average or in cash.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.