Buys 1 contract when the MACD histogram is negative, the Awesome Oscillator crosses above zero, and the 16 period RSI is below 45. Sells the long when the histogram is positive, the Awesome Oscillator crosses below zero, and RSI is above 45.
Best run of 28. Nikkei 225, 3 min, spread 10, from run sweeps:2026-10-04-NIKKEI-3m-opt.tsv:20.
| Period | Up to 2026-10-04 |
| Instrument | Nikkei 225, 3 minutes |
| Spread | 10 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nikkei 225Best run | 3 min | n/a | 66 | 66.67 | 10,916 USD | -8,153 |
| Dow Jones | 1 hour | n/a | 18 | 72.22 | 11,205 EUR | -5,507 |
| Nasdaq 100 | 4 hours | n/a | 6 | 83.33 | 9,887 EUR | -3,540 |
| Nikkei 225 | 10 min | n/a | 56 | 62.50 | 9,189 USD | -4,200 |
| US Crude Oil | Daily | n/a | 3 | 66.67 | 8,952 EUR | -3,837 |
| Nasdaq 100 | 1 hour | n/a | 27 | 70.37 | 7,388 EUR | -2,706 |
| Dow Jones | 15 min | n/a | 60 | 66.67 | 7,261 EUR | -3,533 |
| Dow Jones | 10 min | n/a | 64 | 60.94 | 7,204 EUR | -2,353 |
| Silver | 3 min | n/a | 46 | 63.04 | 6,698 USD | -4,492 |
| Nasdaq 100 | 30 min | n/a | 57 | 73.68 | 5,778 EUR | -5,655 |
| Nasdaq 100 | 15 min | n/a | 52 | 67.31 | 5,161 EUR | -1,748 |
| DAX 40 | 30 min | n/a | 65 | 67.69 | 3,784 EUR | -1,706 |
| Nasdaq 100 | 5 min | n/a | 49 | 65.31 | 3,718 EUR | -1,304 |
| Nasdaq 100 | 2 min | n/a | 51 | 58.82 | 3,511 EUR | -1,055 |
| DAX 40 | 15 min | n/a | 49 | 67.35 | 3,095 EUR | -2,651 |
| S&P 500 | 15 min | n/a | 63 | 69.84 | 2,636 EUR | -644 |
| FTSE 100 | 30 min | n/a | 55 | 60.00 | 2,487 EUR | -1,281 |
| Dow Jones | 1 min | n/a | 48 | 60.42 | 2,267 EUR | -1,063 |
| EUR/USD | 2 min | n/a | 55 | 49.09 | 2,082 USD | -1,630 |
| DAX 40 | 3 min | n/a | 49 | 63.27 | 1,738 EUR | -989 |
| Dow Jones | 3 min | n/a | 45 | 55.56 | 1,698 EUR | -1,441 |
| DAX 40 | 2 min | n/a | 41 | 65.85 | 1,154 EUR | -1,089 |
| GBP/USD | 5 min | n/a | 64 | 60.94 | 997 USD | -287 |
| S&P 500 | 4 hours | n/a | 6 | 83.33 | 682 EUR | -520 |
| Gold | 4 hours | n/a | 8 | 75.00 | 678 EUR | -256 |
| Gold | 30 min | n/a | 65 | 66.15 | 561 EUR | -384 |
| FTSE 100 | 2 min | n/a | 60 | 58.33 | 497 EUR | -358 |
| Gold | Daily | n/a | 4 | 75.00 | 395 EUR | -122 |
Charts
Top 10 of 28 runs. The full list is in the table above.
The code
// ============================================================== // RSI MACD Histogram Oscillator Cross // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: 3 minutes // ============================================================== DEFPARAM CumulateOrders = false hl = (high + low) / 2 ao = Average[5](hl) - Average[34](hl) myMacd = MACDLine[5,10,4](close) signal = ExponentialAverage[4](myMacd) hist = myMacd - signal myRsi = RSI[16](close) aoup = 0 aodown = 0
19 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 28 market and timeframe combinations. The best run by trade count was Nikkei 225, 3 minutes, with 66 trades.
The best run had a maximum drawdown of 8,153 USD at the tested position size, against a net result of 10,916 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.