Buys on a hammer candle with a long wick 3 to 15 times its body and volume at least the prior 5-bar average, when price sits below its recent average. Exits when the midpoint falls below 90% of the entry level.
Best run of 15. Nasdaq 100, 4 hours, spread 3, from run pf:2026-10-04-NAS100-4h.tsv:11.
| Period | Up to 2026-10-04 |
| Instrument | Nasdaq 100, 4 hours |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | 1.54 | 725 | 61.66 | 16,791 EUR | -3,164 |
| S&P 500 | 4 hours | 1.49 | 751 | 61.52 | 4,251 EUR | -1,006 |
| Nikkei 225 | 1 hour | n/a | 1,907 | 55.69 | 31,442 USD | -11,466 |
| Nikkei 225 | 4 hours | n/a | 554 | 60.11 | 27,175 USD | -12,091 |
| Dow Jones | Daily | n/a | 486 | 63.17 | 19,704 EUR | -9,557 |
| Nasdaq 100 | Daily | n/a | 330 | 66.97 | 17,639 EUR | -5,956 |
| Nasdaq 100 | 30 min | n/a | 3,698 | 51.33 | 13,722 EUR | -5,437 |
| Nasdaq 100 | 15 min | n/a | 2,807 | 60.31 | 11,153 EUR | -3,585 |
| Dow Jones | 4 hours | n/a | 132 | 61.36 | 10,216 EUR | -8,450 |
| Dow Jones | 15 min | n/a | 2,343 | 58.26 | 9,345 EUR | -6,951 |
| Dow Jones | 1 hour | n/a | 656 | 59.91 | 9,264 EUR | -6,931 |
| Brent Crude | 30 min | n/a | 1,968 | 59.15 | 6,864 EUR | -4,503 |
| Brent Crude | 4 hours | n/a | 329 | 61.70 | 5,801 EUR | -4,421 |
| FTSE 100 | Daily | n/a | 327 | 66.06 | 4,382 EUR | -2,968 |
| S&P 500 | Daily | n/a | 435 | 62.99 | 3,085 EUR | -1,251 |
Charts
Top 10 of 15 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Hammer Candle Volume Confirmation // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE buyprice = 0 sum = open + close + low + high body = ABS(open - close) longshadow = MAX(high - MAX(open, close), MIN(open, close) - low) avgvol = (volume[1] + volume[2] + volume[3] + volume[4] + volume[5]) / 5 avgsum = (sum[1] + sum[2] + sum[3] + sum[4] + sum[5]) / 5
16 more lines: the entry and exit rules.
Setup
Nasdaq 100 had no history beyond the standard run, so both runs used 28,000 bars.
| Bars available | 28,000 |
| Net, standard 200,000-bar run | 16,791.10 EUR |
| Net, long run | 16,791.10 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 15 market and timeframe combinations. The best run was Nasdaq 100, 4 hours, with a profit factor of 1.54 over 725 trades.
The best run had a maximum drawdown of 3,164 EUR at the tested position size, against a net result of 16,791 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.