Buys when a reversal pattern on closing prices and an Ichimoku-based filter both point up, and sells short when both point down. Any open position is closed when the two signals disagree.
Best run of 11. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:55.
| Period | Up to 2026-10-12 |
| Instrument | USD/JPY, Daily |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 1.91 | 276 | 30.80 | 3,041,360 USD | -477,000 |
| USD/JPY | 30 min | n/a | 4,619 | 25.57 | 511,530 USD | -229,020 |
| USD/JPY | 10 min | n/a | 4,804 | 23.92 | 319,390 USD | -212,260 |
| USD/JPY | 15 min | n/a | 4,734 | 24.46 | 201,630 USD | -183,810 |
| EUR/USD | 2 min | n/a | 5,275 | 19.66 | 130,824 USD | -113,128 |
| Nikkei 225 | Daily | n/a | 238 | 30.25 | 38,327 USD | -20,770 |
| Brent Crude | Daily | n/a | 143 | 27.27 | 9,832 EUR | -9,018 |
| S&P 500 | Daily | n/a | 312 | 25.96 | 1,796 EUR | -1,508 |
| Gold | Daily | n/a | 322 | 26.09 | 1,777 EUR | -868 |
| Gold | 30 min | n/a | 4,788 | 26.40 | 1,620 EUR | -1,216 |
| Gold | 1 hour | n/a | 2,821 | 25.66 | 1,191 EUR | -1,168 |
Charts
Top 10 of 11 runs. The full list is in the table above.
The code
// ============================================================== // Reversal With Ichimoku Cloud Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE kfast = 0 ONCE posrev = 0 ONCE posich = 0 rngf = highest[14](high) - lowest[14](low)
42 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 11 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.91 over 276 trades.
The best run had a maximum drawdown of 477,000 USD at the tested position size, against a net result of 3,041,360 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.