Join waitlist
Strategies / Pattern / PPO Pivot Divergence Reversal

PPO Pivot Divergence Reversal

The strategy looks for price pivots that diverge from PPO pivots, buying on bullish divergence and selling short on bearish divergence. Positions use a 2% stop and 4% target, and an opposite signal reverses the trade.

PatternLong & shortIntradaySilver3 min
n/aProfit factor
11,168Net profit USD
43.88%Win rate
98Trades
-5,450Max drawdown
114Avg trade

Best run of 21. Silver, 3 min, spread 2, from run sweeps:2026-10-04-SILVER-3m-opt.tsv:15.

Entry rules, long

  1. PPO uses EMA 12 and EMA 26, and pivots use 5 bars on each side, confirmed 5 bars late.
  2. The signal fires on the confirmation bar, and the strategy buys one contract when flat.

Entry rules, short

  1. Bearish divergence: the latest price pivot high is above the previous one, while the matching PPO pivot high is below the previous one.

Exit rules

  1. An opposite signal reverses the position.

Test conditions

PeriodUp to 2026-10-04
InstrumentSilver, 3 minutes
Spread2 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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run3 minn/a 9843.8811,168 USD-5,450
USD/JPY1 hourn/a 5547.27458,760 USD-213,260
USD/JPY15 minn/a 6147.54361,130 USD-189,560
USD/JPYDailyn/a 1040.00144,600 USD-119,000
EUR/USD1 hourn/a 7142.2530,113 USD-17,653
EUR/USD15 minn/a 6448.4420,468 USD-13,817
Nikkei 2255 minn/a 8345.7812,908 USD-12,475
Dow Jones3 minn/a 8556.479,788 EUR-4,543
Nasdaq 1005 minn/a 9048.896,243 EUR-3,975
GBP/USD30 minn/a 7945.575,024 USD-2,096
Nasdaq 1002 minn/a 7251.394,783 EUR-4,165
Brent Crude1 minn/a 8150.624,031 EUR-1,709
S&P 5003 minn/a 7354.792,332 EUR-558
US Crude Oil30 minn/a 8140.742,154 EUR-1,341
Dow Jones4 hoursn/a 366.672,077 EUR-1,851
FTSE 10030 minn/a 7844.872,056 EUR-1,343
FTSE 10015 minn/a 7143.661,922 EUR-1,698
FTSE 1001 hourn/a 5345.281,623 EUR-1,101
S&P 50010 minn/a 6342.861,472 EUR-663
Gold2 minn/a 6850.001,022 EUR-669
S&P 500Dailyn/a 2128.57297 EUR-198

Charts

Results by run

Top 10 of 21 runs. The full list is in the table above.

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// PPO Pivot Divergence Reversal
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Pattern
// Direction: Long & short
// Timeframe tested: 3 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE prevpl = 0
ONCE prevppol = 0
ONCE lastpl = 0
ONCE lastppol = 0
ONCE okprevl = 0
ONCE oklastl = 0
ONCE prevph = 0
ONCE prevppoh = 0
ONCE lastph = 0
ONCE lastppoh = 0
ONCE okprevh = 0
ONCE oklasth = 0

fast = ExponentialAverage[12](close)
slow = ExponentialAverage[26](close)
ppo = (fast - slow) / slow * 100

bullsig = 0
bearsig = 0

62 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

EMA
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The best run has only 98 trades, which is a small sample to judge it on.

Questions

About this strategy

Can I run PPO Pivot Divergence Reversal 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 21 market and timeframe combinations. The best run by trade count was Silver, 3 minutes, with 98 trades.

How large was the drawdown?

The best run had a maximum drawdown of 5,450 USD at the tested position size, against a net result of 11,168 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Reversal Pattern With Chaikin Volatility

Uses the same indicator.

2.26 PF · 6,872 trades

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

Breakout Reversal

Also a pattern strategy.

n/a PF · 459 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

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