The strategy buys when a smoothed composite of price momentum, RSI and volume z-scores crosses above zero, and sells short when it crosses below zero. A protective stop sits at a multiple of the 14-bar ATR from the entry.
Best run of 5. USD/JPY, Daily, spread 1, from run pf:2026-10-04-USDJPY-D.tsv:3.
| Period | Up to 2026-10-04 |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 4.52 | 621 | 1.61 | 488,830 USD | -121,520 |
| Silver | 4 hours | n/a | 1,630 | 30.25 | 25,210 USD | -13,737 |
| Nikkei 225 | Daily | n/a | 592 | 31.25 | 23,188 USD | -22,835 |
| DAX 40 | 4 hours | n/a | 1,583 | 32.79 | 16,264 EUR | -4,314 |
| Gold | 4 hours | n/a | 1,621 | 33.19 | 2,942 EUR | -855 |
Charts
The code
// ============================================================== // Composite Z-Score Momentum // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE sc = 0 myRoc = (close - close[14]) / close[14] * 100 myRsi = RSI[14](close) volavg = Average[20](volume)
71 more lines: the entry and exit rules.
Setup
USD/JPY had no history beyond the standard run, so both runs used 12,000 bars.
| Bars available | 12,000 |
| Net, standard 200,000-bar run | 488,830.00 USD |
| Net, long run | 488,830.00 USD |
| Net on the older data alone | 0.00 USD |
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 5 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 4.52 over 621 trades.
The best run had a maximum drawdown of 121,520 USD at the tested position size, against a net result of 488,830 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.