Join waitlist
Strategies / Pattern / Candlestick Reversal at Support and Resistance

Candlestick Reversal at Support and Resistance

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.

PatternLong & shortIntradayBrent Crude10 min
n/aProfit factor
9,059Net profit EUR
66.10%Win rate
59Trades
-6,778Max drawdown
154Avg trade

Best run of 3. Brent Crude, 10 min, spread 3, from run sweeps:2026-10-11-BRENT-10m-opt.tsv:4.

Entry rules, long

  1. The close is at or below 1.018 times the 16-bar lowest low.
  2. Only when no position is open.

Entry rules, short

  1. The close is at or above 0.982 times the 16-bar highest high.
  2. Only when no position is open.

Exit rules

  1. A take profit sits 9.5% from the entry price, for longs and shorts.

Test conditions

PeriodUp to 2026-10-11
InstrumentBrent Crude, 10 minutes
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Brent CrudeBest run10 minn/a 5966.109,059 EUR-6,778
GBP/USD30 minn/a 1172.735,662 USD-3,292
Gold1 minn/a 4100.001,445 EUR-750

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// 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

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.
Read this firstKnown weaknesses3 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 59 trades, which is a small sample to judge it on.
  • The maximum drawdown of 6,778 EUR is large next to the net profit of 9,059 EUR.

Questions

About this strategy

Can I run Candlestick Reversal at Support and Resistance in ProOrder?

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.

Which markets was it tested on?

It was tested on 3 market and timeframe combinations. The best run by trade count was Brent Crude, 10 minutes, with 59 trades.

How large was the drawdown?

The best run had a maximum drawdown of 6,778 EUR at the tested position size, against a net result of 9,059 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Hull Trend With ADX Filter

Best run on the same market, Brent Crude.

1.27 PF · 1,400 trades

Breakout Reversal

Also a pattern strategy.

n/a PF · 459 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs