Join waitlist
Strategies / Pattern / Reversal Pattern With Accelerator

Reversal Pattern With Accelerator

Combines a reversal pattern in raw stochastic with the direction of the Accelerator Oscillator, so both must agree. It buys when both point up and sells short when both point down, closing any position once they disagree.

PatternLong & shortSwingGold4 hours
1.19Profit factor
3,343Net profit EUR
43.77%Win rate
3,729Trades
-731Max drawdown
0.90Avg trade

Best run of 7. Gold, 4 hours, spread 0.6, from run pf:2026-10-12-GOLD-4h.tsv:6.

Entry rules, long

  1. AC is the Awesome Oscillator, SMA(5) minus SMA(34) of median price, less its own 5-bar SMA.
  2. The Accelerator state turns up when AC is above its previous value and down when AC is below it.
  3. A long is opened at market when both states are up and no long position is open.

Entry rules, short

  1. The Accelerator state turns down when AC is below its previous value.
  2. A short is opened at market when both states are down and no short position is open.

Exit rules

  1. A position closes at market when the two states disagree.

Test conditions

PeriodUp to 2026-10-12
InstrumentGold, 4 hours
Spread0.6 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run4 hours1.19 3,72943.773,343 EUR-731
USD/JPYDailyn/a 1,60945.741,149,140 USD-632,990
USD/JPY4 hoursn/a 4,25043.76731,170 USD-209,540
SilverDailyn/a 1,46338.7630,100 USD-10,980
DAX 404 hoursn/a 3,63043.1411,133 EUR-3,834
GBP/USD4 hoursn/a 5,25943.495,324 USD-3,764
GoldDailyn/a 1,69639.92887 EUR-792

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reversal Pattern With Accelerator
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long & short
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE posrev = 0
ONCE sincebad = 1000
ONCE postwo = 0

ll = lowest[14](low)
hh = highest[14](high)

50 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.

Indicators used

Awesome OscillatorStochasticSMA
Read this firstKnown weaknesses2 points
  • A profit factor of 1.19 leaves little room for costs beyond the spread.
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.

Questions

About this strategy

Can I run Reversal Pattern With Accelerator 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 7 market and timeframe combinations. The best run was Gold, 4 hours, with a profit factor of 1.19 over 3,729 trades.

How large was the drawdown?

The best run had a maximum drawdown of 731 EUR at the tested position size, against a net result of 3,343 EUR.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

Fibonacci Level Confluence Trend

Also a pattern strategy.

1.18 PF · 1,388 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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