Buys when the close is over 1.10 times the close 5 bars earlier and over 1.01 times the close 2 bars earlier. Exits only through a 1% trailing stop or a 5% profit target.
Best run of 26. US Crude Oil, Daily, spread 3, from run pf:2026-10-04-CRUDE-D.tsv:4.
| Period | Up to 2026-10-05 |
| Instrument | US Crude Oil, Daily |
| Spread | 3 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 |
|---|---|---|---|---|---|---|
| US Crude OilBest run | Daily | 1.83 | 200 | 39.50 | 3,255 EUR | -463 |
| EUR/USD | 2 min | n/a | 60 | 60.00 | 176,777 USD | -5,822 |
| EUR/USD | 3 min | n/a | 36 | 55.56 | 94,481 USD | -4,274 |
| EUR/USD | 5 min | n/a | 29 | 48.28 | 61,075 USD | -5,711 |
| EUR/USD | 10 min | n/a | 18 | 50.00 | 40,255 USD | -3,962 |
| EUR/USD | 15 min | n/a | 15 | 53.33 | 37,699 USD | -2,850 |
| EUR/USD | 1 hour | n/a | 3 | 100.00 | 17,600 USD | -0.00 |
| EUR/USD | 30 min | n/a | 6 | 50.00 | 13,385 USD | -1,434 |
| Silver | Daily | n/a | 144 | 34.03 | 6,233 USD | -2,191 |
| EUR/USD | 4 hours | n/a | 1 | 100.00 | 5,865 USD | -0.00 |
| Brent Crude | Daily | n/a | 85 | 51.76 | 4,925 EUR | -338 |
| EUR/USD | Daily | n/a | 1 | 100.00 | 1,447 USD | -0.00 |
| US Crude Oil | 4 hours | n/a | 46 | 47.83 | 942 EUR | -424 |
| US Crude Oil | 3 min | n/a | 4 | 50.00 | 689 EUR | -59.20 |
| Brent Crude | 3 min | n/a | 2 | 100.00 | 531 EUR | -26.00 |
| Nasdaq 100 | Daily | n/a | 57 | 35.09 | 507 EUR | -142 |
| Brent Crude | 1 min | n/a | 1 | 100.00 | 504 EUR | -5.10 |
| US Crude Oil | 5 min | n/a | 3 | 33.33 | 395 EUR | -107 |
| Brent Crude | 5 min | n/a | 3 | 33.33 | 349 EUR | -155 |
| US Crude Oil | 1 hour | n/a | 37 | 35.14 | 330 EUR | -290 |
| Nikkei 225 | 4 hours | n/a | 1 | 100.00 | 328 USD | -0.00 |
| US Crude Oil | 2 min | n/a | 4 | 25.00 | 319 EUR | -125 |
| Brent Crude | 2 min | n/a | 3 | 33.33 | 314 EUR | -109 |
| Silver | 30 min | n/a | 1 | 100.00 | 139 USD | -41.50 |
| Brent Crude | 30 min | n/a | 6 | 66.67 | 135 EUR | -91.70 |
| US Crude Oil | 30 min | n/a | 23 | 43.48 | 134 EUR | -95.90 |
Charts
Top 10 of 26 runs. The full list is in the table above.
The code
// ============================================================== // Rate Of Change Momentum Trailing // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false rocrlong = close / close[5] rocrshort = close / close[2]
9 more lines: the entry and exit rules.
Setup
US Crude Oil had no history beyond the standard run, so both runs used 11,000 bars.
| Bars available | 11,000 |
| Net, standard 200,000-bar run | 3,254.80 EUR |
| Net, long run | 3,254.80 EUR |
| Net on the older data alone | 0.00 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 US Crude Oil, Daily, with a profit factor of 1.83 over 200 trades.
The best run had a maximum drawdown of 463 EUR at the tested position size, against a net result of 3,255 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.