Goes long when price is above both Ichimoku spans, RSI is above 30 and MACD crosses above its signal line, and short on the mirror conditions. A MACD cross in the opposite direction closes the trade.
Best run of 14. USD/JPY, 1 hour, spread 1, from run sweeps:2026-10-11-USDJPY-1h-opt.tsv:45.
| Period | Up to 2026-10-11 |
| Instrument | USD/JPY, 1 hour |
| Spread | 1 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 1 hour | n/a | 5,190 | 34.08 | 444,130 USD | -298,490 |
| USD/JPY | Daily | n/a | 522 | 34.48 | 1,372,160 USD | -582,750 |
| USD/JPY | 4 hours | n/a | 1,332 | 37.99 | 623,280 USD | -271,100 |
| EUR/USD | Daily | n/a | 527 | 37.19 | 114,658 USD | -32,026 |
| Silver | Daily | n/a | 475 | 33.89 | 29,581 USD | -22,891 |
| Silver | 4 hours | n/a | 1,176 | 33.16 | 23,366 USD | -12,282 |
| Nikkei 225 | Daily | n/a | 424 | 36.79 | 18,754 USD | -15,123 |
| GBP/USD | Daily | n/a | 524 | 39.31 | 8,921 USD | -4,286 |
| Dow Jones | 4 hours | n/a | 397 | 36.02 | 7,186 EUR | -5,854 |
| DAX 40 | 4 hours | n/a | 1,178 | 37.52 | 6,545 EUR | -3,794 |
| GBP/USD | 4 hours | n/a | 1,685 | 35.55 | 3,521 USD | -3,128 |
| Gold | 4 hours | n/a | 1,159 | 35.98 | 2,266 EUR | -599 |
| Gold | Daily | n/a | 523 | 37.48 | 1,934 EUR | -1,630 |
| Gold | 1 hour | n/a | 4,497 | 31.78 | 1,555 EUR | -891 |
Charts
Top 10 of 14 runs. The full list is in the table above.
The code
// ============================================================== // Ichimoku Cloud RSI MACD Cross // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false tenkan = (highest[9](high) + lowest[9](low)) / 2 kijun = (highest[26](high) + lowest[26](low)) / 2 spana = (tenkan + kijun) / 2 spanb = (highest[52](high) + lowest[52](low)) / 2 myRsi = RSI[14](close) myMacd = MACDLine[12,26,9](close) sig = ExponentialAverage[9](myMacd)
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 14 market and timeframe combinations. The best run by trade count was USD/JPY, 1 hour, with 5,190 trades.
The best run had a maximum drawdown of 298,490 USD at the tested position size, against a net result of 444,130 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.