Strategies / S10
MACD Cross
Long from the MACD crossing its signal line until it crosses back.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +108% | +602% | 0.47 | -60.5% | 33.9% | 1,796 |
| Stocks, 1d | +1,272% | +28K% | 0.78 | -32.4% | 42.0% | 2,398 |
| Forex, 1d | -1.6% | +3.1% | 0.01 | -23.3% | 38.2% | 1,478 |
| Commodities, 1d | +277% | +1,833% | 0.42 | -40.5% | 39.0% | 1,317 |
| Indices, 1d | +181% | +878% | 0.44 | -35.1% | 41.9% | 1,362 |
The exact rule
- Go long when MACD crosses above the MACD signal line.
- Exit the long when MACD crosses below the MACD signal line.
- 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
MACD Zero LineLong while MACD is above zero, a slower read of the same idea.Supertrend 10/3Long while Supertrend is green.Supertrend Long & ShortAlways in the market, on the side Supertrend shows.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.