Strategies / S11
MACD Zero Line
Long while MACD is above zero, a slower read of the same idea.
Results
| Market class | Return | Holding | Sharpe | Max DD | Win rate | Trades |
|---|---|---|---|---|---|---|
| Crypto, 1d | +135% | +602% | 0.52 | -60.5% | 29.6% | 811 |
| Stocks, 1d | +4,329% | +28K% | 1.11 | -21.5% | 39.4% | 968 |
| Forex, 1d | +0.3% | +3.1% | 0.02 | -23.4% | 32.0% | 643 |
| Commodities, 1d | +402% | +1,833% | 0.50 | -33.1% | 34.1% | 601 |
| Indices, 1d | +334% | +878% | 0.63 | -22.4% | 37.5% | 539 |
The exact rule
- Go long when MACD crosses above 0.
- Exit the long when MACD crosses below 0.
- 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
Supertrend 10/3Long while Supertrend is green.Supertrend Long & ShortAlways in the market, on the side Supertrend shows.Supertrend 20/5A wide Supertrend that aims to hold the big moves.
Research, not advice. Past results do not predict future ones. Results run to 2026-10-31.