Join waitlist
Strategies / Breakout / Smoothed Channel OBV Breakout

Smoothed Channel OBV Breakout

The strategy buys when the close crosses above a smoothed channel band while on-balance volume is above its 60-bar EMA and the close is above its 50-bar EMA. It sells when the close falls below the channel midline or the 50-bar EMA.

BreakoutLong onlySwingSilver4 hours
1.69Profit factor
33,143Net profit USD
26.71%Win rate
453Trades
-7,792Max drawdown
73.16Avg trade

Best run of 17. Silver, 4 hours, spread 2, from run pf:2026-10-04-SILVER-4h.tsv:4.

Entry rules, long

  1. On-balance volume is above its 60-bar EMA.
  2. The close is above its 50-bar EMA.
  3. Buys one contract at market when flat, after bar 200.

Exit rules

  1. A stop sits 1.7 times the prior bar's 14-bar ATR from the entry price.

Test conditions

PeriodUp to 2026-10-04
InstrumentSilver, 4 hours
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 run4 hours1.69 45326.7133,143 USD-7,792
Gold1 hour1.32 1,71326.802,368 EUR-445
Nikkei 225Dailyn/a 4827.0822,715 USD-7,954
Nasdaq 100Dailyn/a 5145.1015,824 EUR-3,087
Dow Jones4 hoursn/a 13635.2913,066 EUR-4,166
Nasdaq 1004 hoursn/a 22935.377,552 EUR-2,746
Dow Jones1 hourn/a 58928.187,103 EUR-6,557
DAX 404 hoursn/a 23533.196,353 EUR-2,163
Nasdaq 1001 hourn/a 94328.636,159 EUR-4,520
DAX 4030 minn/a 1,82726.005,785 EUR-2,293
DAX 401 hourn/a 91027.694,800 EUR-2,281
Nasdaq 10015 minn/a 2,85523.853,809 EUR-3,564
Gold4 hoursn/a 41630.052,429 EUR-838
GoldDailyn/a 5733.331,996 EUR-809
S&P 500Dailyn/a 4148.781,724 EUR-566
Gold30 minn/a 2,92926.601,505 EUR-1,002
S&P 5001 hourn/a 89127.051,365 EUR-761

Charts

Results by run

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

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Smoothed Channel OBV Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long only
// Timeframe tested: 4 hours
// ==============================================================

DEFPARAM CumulateOrders = false

src = TypicalPrice
myTr = TR(close)
srcin = src + (src - src[17])
trin = myTr + (myTr - myTr[17])

fa = ExponentialAverage[20](srcin)
fb = ExponentialAverage[20](fa)
fc = ExponentialAverage[20](fb)
filt = ExponentialAverage[20](fc)

ta = ExponentialAverage[20](trin)
tb = ExponentialAverage[20](ta)
tc = ExponentialAverage[20](tb)
filttr = ExponentialAverage[20](tc)

upper = filt + filttr * 1.414

myObv = OBV(close)
obvema = ExponentialAverage[60](myObv)
regime = ExponentialAverage[50](close)
myAtr = AverageTrueRange[14](close)
stopdist = myAtr[1] * 1.7

14 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

ATREMATrue RangeVolume
Longer historyRe-run on up to 1,000,000 barsSilver · 4 hours · older data 0.00 USD

Silver had no history beyond the standard run, so both runs used 30,000 bars.

Silver · 4 hours

Bars available30,000
Net, standard 200,000-bar run33,143.00 USD
Net, long run33,143.00 USD
Net on the older data alone0.00 USD
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Smoothed Channel OBV Breakout 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 17 market and timeframe combinations. The best run was Silver, 4 hours, with a profit factor of 1.69 over 453 trades.

How large was the drawdown?

The best run had a maximum drawdown of 7,792 USD at the tested position size, against a net result of 33,143 USD.

Does it trade long, short or both?

It only takes long trades.

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

Fractal Breakout

Also a breakout strategy.

1.71 PF · 235 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