The strategy buys 1 contract when the close crosses above the 200 period simple average with positive MACD and a Stochastic RSI reading above 80. It places its stop and target at recent swing points, and sells short on the mirror conditions.
Best run of 12. Dow Jones, 10 min, spread 3, from run sweeps:2026-10-03-DOW30-10m-opt.tsv:12.
| Period | Up to 2026-10-03 |
| Instrument | Dow Jones, 10 minutes |
| 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-03 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 10 min | n/a | 718 | 71.73 | 2,397 EUR | -2,184 |
| USD/JPY | Daily | n/a | 33 | 84.85 | 204,370 USD | -112,450 |
| EUR/USD | Daily | n/a | 33 | 78.79 | 30,640 USD | -10,883 |
| DAX 40 | 4 hours | n/a | 86 | 87.21 | 3,486 EUR | -1,259 |
| Brent Crude | 30 min | n/a | 396 | 72.22 | 3,127 EUR | -1,361 |
| Dow Jones | 15 min | n/a | 549 | 73.95 | 2,764 EUR | -2,086 |
| DAX 40 | 30 min | n/a | 626 | 71.09 | 2,587 EUR | -1,800 |
| Dow Jones | 4 hours | n/a | 21 | 85.71 | 2,400 EUR | -1,959 |
| Brent Crude | 1 hour | n/a | 186 | 80.11 | 2,276 EUR | -897 |
| GBP/USD | 1 hour | n/a | 558 | 77.06 | 2,232 USD | -1,099 |
| Nasdaq 100 | 15 min | n/a | 540 | 73.33 | 2,189 EUR | -1,491 |
| Gold | Daily | n/a | 23 | 86.96 | 254 EUR | -75.30 |
Charts
Top 10 of 12 runs. The full list is in the table above.
The code
// ============================================================== // SMA 200 Crossover Swing Stops // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE lastsh = 0 ONCE hassh = 0 ONCE lastsl = 0 ONCE hassl = 0 sma = Average[200](close) myMacd = MACDline[12,26,9](close) myRsi = RSI[14](close) rhi = highest[14](myRsi) rlo = lowest[14](myRsi)
46 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 12 market and timeframe combinations. The best run by trade count was Dow Jones, 10 minutes, with 718 trades.
The best run had a maximum drawdown of 2,184 EUR at the tested position size, against a net result of 2,397 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.