Buys when the close breaks above the highest high of the previous 60 bars, volume exceeds the highest volume of the previous 60 bars and the close is above the 200-bar SMA. Exits when the last 5 closes are all below the 200-bar SMA.
Best run of 36. Gold, 3 min, spread 0.6, from run pf:2026-10-13-GOLD-3m.tsv:2.
| Period | Up to 2026-10-13 |
| Instrument | Gold, 3 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-13 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 3 min | 1.53 | 393 | 38.68 | 1,947 EUR | -353 |
| USD/JPY | 30 min | n/a | 289 | 40.14 | 545,620 USD | -167,810 |
| USD/JPY | Daily | n/a | 6 | 66.67 | 435,090 USD | -269,960 |
| USD/JPY | 4 hours | n/a | 33 | 51.52 | 258,330 USD | -181,530 |
| USD/JPY | 15 min | n/a | 312 | 38.46 | 242,560 USD | -120,960 |
| USD/JPY | 10 min | n/a | 302 | 43.38 | 206,400 USD | -164,460 |
| Nikkei 225 | Daily | n/a | 4 | 50.00 | 27,851 USD | -11,480 |
| Nikkei 225 | 4 hours | n/a | 16 | 50.00 | 21,183 USD | -6,845 |
| Silver | 5 min | n/a | 325 | 38.77 | 19,861 USD | -13,314 |
| Silver | 30 min | n/a | 313 | 36.74 | 16,315 USD | -11,063 |
| Silver | 2 min | n/a | 332 | 37.95 | 15,395 USD | -9,306 |
| Nikkei 225 | 3 min | n/a | 274 | 33.21 | 15,088 USD | -4,141 |
| Nikkei 225 | 2 min | n/a | 272 | 39.34 | 14,796 USD | -5,731 |
| Silver | 3 min | n/a | 303 | 40.26 | 10,978 USD | -8,452 |
| Nikkei 225 | 1 min | n/a | 318 | 35.53 | 9,603 USD | -6,089 |
| Nikkei 225 | 1 hour | n/a | 41 | 39.02 | 7,067 USD | -5,819 |
| Nasdaq 100 | 10 min | n/a | 454 | 37.00 | 5,813 EUR | -2,976 |
| Nasdaq 100 | 3 min | n/a | 390 | 33.85 | 5,759 EUR | -2,211 |
| Nasdaq 100 | Daily | n/a | 4 | 75.00 | 4,422 EUR | -3,344 |
| Nasdaq 100 | 15 min | n/a | 419 | 38.19 | 4,280 EUR | -3,620 |
| Brent Crude | 3 min | n/a | 350 | 34.00 | 3,698 EUR | -2,179 |
| Nasdaq 100 | 2 min | n/a | 408 | 33.82 | 3,472 EUR | -2,228 |
| DAX 40 | 15 min | n/a | 317 | 40.69 | 3,364 EUR | -3,179 |
| Nasdaq 100 | 1 hour | n/a | 65 | 49.23 | 3,330 EUR | -1,886 |
| Nasdaq 100 | 5 min | n/a | 443 | 35.44 | 3,159 EUR | -2,810 |
| Gold | Daily | n/a | 4 | 75.00 | 2,956 EUR | -1,108 |
| Gold | 5 min | n/a | 384 | 40.10 | 2,202 EUR | -714 |
| Gold | 4 hours | n/a | 45 | 37.78 | 1,663 EUR | -1,134 |
| Gold | 15 min | n/a | 451 | 35.70 | 1,595 EUR | -757 |
| Gold | 30 min | n/a | 318 | 37.74 | 1,545 EUR | -613 |
| Gold | 10 min | n/a | 420 | 35.00 | 1,493 EUR | -457 |
| Gold | 1 hour | n/a | 168 | 37.50 | 1,321 EUR | -1,098 |
| S&P 500 | 1 hour | n/a | 69 | 49.28 | 1,138 EUR | -491 |
| Gold | 2 min | n/a | 429 | 35.66 | 842 EUR | -664 |
| S&P 500 | 5 min | n/a | 449 | 35.19 | 709 EUR | -462 |
| S&P 500 | 3 min | n/a | 398 | 33.17 | 654 EUR | -536 |
Charts
Top 10 of 36 runs. The full list is in the table above.
The code
// ============================================================== // Volume Confirmed Breakout // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: 3 minutes // ============================================================== DEFPARAM CumulateOrders = false sma = Average[200](close) hh = highest[60](high) vh = highest[60](volume)
12 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 36 market and timeframe combinations. The best run was Gold, 3 minutes, with a profit factor of 1.53 over 393 trades.
The best run had a maximum drawdown of 353 EUR at the tested position size, against a net result of 1,947 EUR.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.