The system buys 1 contract when a close breaks above the prior 12-bar high during an Ichimoku uptrend and a short EMA stack is rising. It exits when Tenkan crosses under Kijun or the close crosses under Kijun, with a 4% stop loss.
Best run of 26. Gold, 30 min, spread 0.6, from run pf:2026-10-05-GOLD-30m.tsv:3.
| Period | Up to 2026-10-05 |
| Instrument | Gold, 30 minutes |
| Spread | 0.6 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 30 min | 2.01 | 227 | 40.53 | 914 EUR | -160 |
| USD/JPY | 15 min | 1.98 | 251 | 43.82 | 248,230 USD | -37,510 |
| USD/JPY | 10 min | 1.69 | 215 | 36.28 | 152,730 USD | -27,120 |
| Silver | 4 hours | n/a | 26 | 50.00 | 13,821 USD | -5,233 |
| Silver | 1 hour | n/a | 156 | 33.33 | 12,671 USD | -7,807 |
| Nikkei 225 | Daily | n/a | 17 | 23.53 | 9,276 USD | -3,456 |
| Nikkei 225 | 3 min | n/a | 230 | 33.91 | 4,879 USD | -4,343 |
| Dow Jones | 15 min | n/a | 162 | 40.12 | 4,595 EUR | -1,332 |
| Nikkei 225 | 30 min | n/a | 225 | 33.78 | 4,088 USD | -3,297 |
| US Crude Oil | Daily | n/a | 7 | 42.86 | 3,830 EUR | -1,997 |
| Dow Jones | 5 min | n/a | 168 | 37.50 | 3,540 EUR | -1,079 |
| Nasdaq 100 | 1 hour | n/a | 167 | 38.32 | 3,341 EUR | -1,379 |
| GBP/USD | Daily | n/a | 17 | 41.18 | 3,336 USD | -2,569 |
| Nikkei 225 | 1 min | n/a | 244 | 35.66 | 2,659 USD | -1,738 |
| Nasdaq 100 | 10 min | n/a | 219 | 36.99 | 2,646 EUR | -995 |
| DAX 40 | 1 hour | n/a | 148 | 37.16 | 2,390 EUR | -1,487 |
| US Crude Oil | 30 min | n/a | 183 | 38.25 | 1,978 EUR | -1,661 |
| Gold | Daily | n/a | 16 | 56.25 | 1,974 EUR | -986 |
| GBP/USD | 1 hour | n/a | 200 | 36.50 | 1,914 USD | -681 |
| Nasdaq 100 | 15 min | n/a | 240 | 35.83 | 1,704 EUR | -1,557 |
| GBP/USD | 4 hours | n/a | 29 | 34.48 | 1,249 USD | -848 |
| DAX 40 | 10 min | n/a | 242 | 35.95 | 895 EUR | -836 |
| FTSE 100 | Daily | n/a | 11 | 45.45 | 686 EUR | -599 |
| Gold | 15 min | n/a | 230 | 28.70 | 524 EUR | -253 |
| Gold | 10 min | n/a | 230 | 30.43 | 326 EUR | -186 |
| Gold | 5 min | n/a | 213 | 32.39 | 312 EUR | -245 |
Charts
Top 10 of 26 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Ichimoku Cloud Breakout Long (long only) // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false emathree = ExponentialAverage[3](close) emafive = ExponentialAverage[5](close) ematen = ExponentialAverage[10](close) tenkan = (highest[20](high) + lowest[20](low)) / 2 kijun = (highest[60](high) + lowest[60](low)) / 2 leada = (tenkan + kijun) / 2 leadb = (highest[120](high) + lowest[120](low)) / 2
21 more lines: the entry and exit rules.
Setup
On the long run with 245,000 bars the net result was 1,175 EUR, against 914 EUR on the standard 200,000-bar run. The older data alone gave 261 EUR.
| Bars available | 245,000 |
| Net, standard 200,000-bar run | 914.10 EUR |
| Net, long run | 1,175.30 EUR |
| Net on the older data alone | 261.20 EUR |
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 26 market and timeframe combinations. The best run was Gold, 30 minutes, with a profit factor of 2.01 over 227 trades.
The best run had a maximum drawdown of 160 EUR at the tested position size, against a net result of 914 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.