The strategy arms a long after the 50-period EMA crosses above the 200-period SMA, and a short after it crosses below. Entries need price on the matching side of the SMA and an extreme mapped line, with a 2.17% stop and 0.87% target.
Best run of 20. Brent Crude, 15 min, spread 3, from run sweeps:2026-10-12-BRENT-15m-opt.tsv:3.
| Period | Up to 2026-10-12 |
| Instrument | Brent Crude, 15 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Brent CrudeBest run | 15 min | n/a | 514 | 69.65 | 2,842 EUR | -2,423 |
| USD/JPY | Daily | n/a | 40 | 87.50 | 238,620 USD | -46,660 |
| USD/JPY | 4 hours | n/a | 95 | 75.79 | 189,940 USD | -112,130 |
| USD/JPY | 2 min | n/a | 276 | 41.67 | 114,150 USD | -96,520 |
| EUR/USD | 30 min | n/a | 348 | 55.46 | 28,479 USD | -18,844 |
| EUR/USD | 4 hours | n/a | 127 | 72.44 | 20,336 USD | -11,106 |
| EUR/USD | 10 min | n/a | 281 | 48.04 | 16,345 USD | -8,778 |
| Nikkei 225 | 10 min | n/a | 462 | 61.90 | 13,096 USD | -8,506 |
| Dow Jones | 30 min | n/a | 199 | 66.83 | 7,306 EUR | -5,002 |
| Nasdaq 100 | 15 min | n/a | 456 | 68.42 | 6,044 EUR | -3,314 |
| GBP/USD | 15 min | n/a | 362 | 52.49 | 3,703 USD | -1,449 |
| DAX 40 | 2 min | n/a | 375 | 40.53 | 2,775 EUR | -2,045 |
| Nasdaq 100 | 4 hours | n/a | 102 | 70.59 | 2,160 EUR | -587 |
| GBP/USD | 5 min | n/a | 330 | 42.12 | 1,761 USD | -1,125 |
| S&P 500 | 3 min | n/a | 350 | 46.29 | 1,559 EUR | -796 |
| Nasdaq 100 | Daily | n/a | 37 | 70.27 | 1,112 EUR | -177 |
| Gold | 15 min | n/a | 388 | 61.08 | 792 EUR | -453 |
| DAX 40 | Daily | n/a | 33 | 69.70 | 536 EUR | -293 |
| S&P 500 | 4 hours | n/a | 100 | 71.00 | 396 EUR | -308 |
| Silver | Daily | n/a | 27 | 77.78 | 307 USD | -296 |
Charts
Top 10 of 20 runs. The full list is in the table above.
The code
// ============================================================== // EMA SMA Cross Volatility Map // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long & short // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE waitbuy = 0 ONCE waitsell = 0 ema = ExponentialAverage[20](close) sd = STD[2](close) mind = lowest[504](sd) maxd = highest[504](sd)
41 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 20 market and timeframe combinations. The best run by trade count was Brent Crude, 15 minutes, with 514 trades.
The best run had a maximum drawdown of 2,423 EUR at the tested position size, against a net result of 2,842 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.