The system buys a bullish candle when volume is above its 21-bar average and the bar is not inside the previous bar. It sells when a bar closes below the previous bar's low.
Best run of 7. USD/JPY, Daily, spread 1, from run pf:2026-10-05-USDJPY-D.tsv:19.
| Period | Up to 2026-10-05 |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 1.36 | 473 | 44.19 | 731,790 USD | -171,470 |
| DAX 40 | 4 hours | 1.28 | 1,473 | 42.57 | 18,131 EUR | -3,504 |
| Nasdaq 100 | 4 hours | n/a | 1,326 | 43.21 | 14,891 EUR | -4,038 |
| Nikkei 225 | 4 hours | n/a | 1,384 | 37.93 | 12,585 USD | -11,209 |
| Nasdaq 100 | Daily | n/a | 348 | 43.10 | 10,926 EUR | -8,054 |
| FTSE 100 | Daily | n/a | 318 | 45.28 | 2,979 EUR | -1,035 |
| S&P 500 | 4 hours | n/a | 1,348 | 41.02 | 1,799 EUR | -791 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // High Volume Green Candle Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false volma = Average[21](volume)
13 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 | 731,790.00 USD |
| Net, long run | 735,890.00 USD |
| Net on the older data alone | 4,100.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 7 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.36 over 473 trades.
The best run had a maximum drawdown of 171,470 USD at the tested position size, against a net result of 731,790 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.