Join waitlist
Strategies / Trend / Reversal Pattern With Confluence Score

Reversal Pattern With Confluence Score

The system buys when a stochastic-based close reversal agrees with a bullish confluence score built from moving average momentum, phase and trend-cycle components, and sells short on the bearish mirror. Positions close when the score is mixed or the reversal disagrees.

TrendLong & shortSwingUSD/JPYDaily
1.48Profit factor
2,735,850Net profit USD
39.95%Win rate
836Trades
-504,070Max drawdown
3,273Avg trade

Best run of 6. USD/JPY, Daily, spread 1, from run pf:2026-10-12-USDJPY-D.tsv:70.

Entry rules, long

  1. The close is above the prior close, and the prior close was below the close 2 bars earlier.
  2. The Stochastic %K (14 periods) is below its 3-period SMA and above 50 on the same bar.
  3. When both states are bullish and no long is open, the system buys 1 contract at market.

Entry rules, short

  1. The close is below the prior close, and the prior close was above the close 2 bars earlier.
  2. The Stochastic %K (14 periods) is above its 3-period SMA and below 50 on the same bar.
  3. When both states are bearish and no short is open, the system sells 1 contract short at market.

Exit rules

  1. A mixed score, a non-zero value between -1 and 1, closes any open position at market.
  2. When they no longer agree, an open short is bought back at market.

Test conditions

PeriodUp to 2026-10-13
InstrumentUSD/JPY, Daily
Spread1 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-13

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest runDaily1.48 83639.952,735,850 USD-504,070
Nikkei 225Dailyn/a 1,00246.6132,647 USD-21,247
Silver4 hoursn/a 2,04136.2615,632 USD-14,998
Brent CrudeDailyn/a 41443.4814,796 EUR-4,950
US Crude OilDailyn/a 88043.9813,416 EUR-7,130
GoldDailyn/a 88237.761,352 EUR-1,276

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reversal Pattern With Confluence Score
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE posrev = 0
ONCE sincebad = 1000
ONCE posconf = 0

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

335 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

SMAStochastic
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Reversal Pattern With Confluence Score 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 6 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.48 over 836 trades.

How large was the drawdown?

The best run had a maximum drawdown of 504,070 USD at the tested position size, against a net result of 2,735,850 USD.

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

EMA 8 21 RSI Filtered Bracket

Best run on the same market, USD/JPY.

1.09 PF · 6,194 trades

Parabolic SAR Upside Crossover

Also a trend strategy.

1.48 PF · 550 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