The system buys when a stochastic-based close reversal agrees with a bullish confluence score built from moving average momentum, phase and trend-cycle components, and sells short on the bearish mirror. Positions close when the score is mixed or the reversal disagrees.
Best run of 6. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:70.
| Period | Up to 2026-10-13 |
| 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-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 1.48 | 836 | 39.95 | 2,735,850 USD | -504,070 |
| Nikkei 225 | Daily | n/a | 1,002 | 46.61 | 32,647 USD | -21,247 |
| Silver | 4 hours | n/a | 2,041 | 36.26 | 15,632 USD | -14,998 |
| Brent Crude | Daily | n/a | 414 | 43.48 | 14,796 EUR | -4,950 |
| US Crude Oil | Daily | n/a | 880 | 43.98 | 13,416 EUR | -7,130 |
| Gold | Daily | n/a | 882 | 37.76 | 1,352 EUR | -1,276 |
Charts
The code
// ============================================================== // Reversal Pattern With Confluence Score // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE posconf = 0 ll = lowest[14](low) hh = highest[14](high)
335 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 6 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.48 over 836 trades.
The best run had a maximum drawdown of 504,070 USD at the tested position size, against a net result of 2,735,850 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.