The strategy buys when the MACD line crosses above a small negative threshold of 0.0276% of price, and closes the long when it crosses above a small positive threshold of 0.0103% of price. Each trade has a 0.05% stop loss from entry.
Best run of 8. Dow Jones, Daily, spread 3, from run pf:2026-10-12-DOW30-D.tsv:20.
| Period | Up to 2026-10-12 |
| Instrument | Dow Jones, Daily |
| Spread | 3 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | Daily | 4.83 | 241 | 2.90 | 5,278 EUR | -940 |
| EUR/USD | 3 min | n/a | 995 | 31.66 | 117,984 USD | -33,041 |
| EUR/USD | 2 min | n/a | 518 | 28.96 | 100,434 USD | -33,547 |
| EUR/USD | 10 min | n/a | 2,149 | 26.06 | 76,499 USD | -35,325 |
| EUR/USD | 5 min | n/a | 1,371 | 30.42 | 39,577 USD | -32,230 |
| Nikkei 225 | Daily | n/a | 196 | 3.57 | 5,673 USD | -3,093 |
| Dow Jones | 4 hours | n/a | 175 | 12.00 | 2,301 EUR | -1,167 |
| GBP/USD | Daily | n/a | 230 | 7.83 | 1,677 USD | -1,272 |
Charts
The code
// ============================================================== // MACD Level Crossover Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false myMacd = ExponentialAverage[12](close) - ExponentialAverage[26](close) linebuy = close * (-0.0276) / 100 linesell = close * 0.0103 / 100
11 more lines: the entry and exit rules.
Setup
Questions
Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.
It was tested on 8 market and timeframe combinations. The best run was Dow Jones, Daily, with a profit factor of 4.83 over 241 trades.
The best run had a maximum drawdown of 940 EUR at the tested position size, against a net result of 5,278 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.