Buys after a hammer, doji or pin bar closes near the 16-bar lowest low, and sells short after a shooting star, doji or pin bar closes near the 16-bar highest high. Each trade carries a 16% stop loss and a 9.5% take profit, with one contract per trade.
Best run of 3. Brent Crude, 10 min, spread 3, from run sweeps:2026-10-11-BRENT-10m-opt.tsv:4.
| Period | Up to 2026-10-11 |
| Instrument | Brent Crude, 10 minutes |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Brent CrudeBest run | 10 min | n/a | 59 | 66.10 | 9,059 EUR | -6,778 |
| GBP/USD | 30 min | n/a | 11 | 72.73 | 5,662 USD | -3,292 |
| Gold | 1 min | n/a | 4 | 100.00 | 1,445 EUR | -750 |
Charts
The code
// ============================================================== // Candlestick Reversal at Support and Resistance // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false rng = high - low hbody = close - open
27 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 3 market and timeframe combinations. The best run by trade count was Brent Crude, 10 minutes, with 59 trades.
The best run had a maximum drawdown of 6,778 EUR at the tested position size, against a net result of 9,059 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.