Join waitlist
Strategies / Breakout / Adaptive Cloud Breakout

Adaptive Cloud Breakout

The strategy buys when the high breaks above a cloud built from an adaptive moving average, its Hull average and a SuperTrend line. It sells when the low breaks below the cloud bottom or the close falls under it.

BreakoutLong onlySwingSilver1 hour
3.15Profit factor
567,628Net profit USD
36.90%Win rate
2,932Trades
-33,888Max drawdown
194Avg trade

Best run of 25. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:24.

Entry rules, long

  1. The SuperTrend line uses a factor of 2 and a 5 bar ATR.
  2. Signals are checked only after bar 45 and only when no long position is open.

Exit rules

  1. The close is below the cloud bottom, which also closes the long at market.

Test conditions

PeriodUp to 2026-10-12
InstrumentSilver, 1 hour
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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
SilverBest run1 hour3.15 2,93236.90567,628 USD-33,888
USD/JPY4 hoursn/a 86344.84414,100 USD-349,910
Dow JonesDailyn/a 32247.8331,548 EUR-10,964
SilverDailyn/a 28842.0127,787 USD-25,287
Nikkei 2254 hoursn/a 61543.2526,462 USD-18,419
Nikkei 225Dailyn/a 25938.6124,770 USD-23,238
Nasdaq 1004 hoursn/a 76246.4618,330 EUR-6,921
DAX 404 hoursn/a 77345.6715,336 EUR-4,643
Nasdaq 100Dailyn/a 25450.3914,704 EUR-8,362
Nikkei 2251 hourn/a 2,23641.1413,157 USD-12,968
Dow Jones30 minn/a 1,87541.2811,876 EUR-8,522
DAX 40Dailyn/a 24847.5811,324 EUR-7,725
Nasdaq 1001 hourn/a 2,86540.8710,038 EUR-6,739
DAX 401 hourn/a 2,67442.158,954 EUR-6,756
DAX 4030 minn/a 4,39642.457,845 EUR-6,631
Nasdaq 10015 minn/a 4,51441.567,355 EUR-5,478
Brent Crude4 hoursn/a 41843.546,805 EUR-6,681
Nasdaq 10030 minn/a 4,49541.826,323 EUR-6,108
FTSE 100Dailyn/a 28846.535,302 EUR-4,695
GoldDailyn/a 30841.234,221 EUR-1,534
FTSE 1004 hoursn/a 69746.482,989 EUR-2,388
S&P 5004 hoursn/a 76747.592,773 EUR-1,096
Gold4 hoursn/a 80043.622,578 EUR-1,412
S&P 500Dailyn/a 34548.122,475 EUR-2,117
Gold1 hourn/a 2,88138.841,534 EUR-973

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Adaptive Cloud Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long only
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE nama = 0
ONCE stup = 0
ONCE stlo = 0
ONCE st = 0
ONCE dir = 1

xp = (open + high + low + close) / 4
noise = abs(xp - xp[1])
sig = abs(xp - xp[20])
nnoise = summation[20](noise)

59 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

KAMAHull MASuperTrendATRWMA
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 Adaptive Cloud 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 25 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 3.15 over 2,932 trades.

How large was the drawdown?

The best run had a maximum drawdown of 33,888 USD at the tested position size, against a net result of 567,628 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

KDJ J Line Momentum Long

Uses the same indicator.

4.17 PF · 6,135 trades

SMA Crossover With RSI Exit

Best run on the same market, Silver.

2.13 PF · 8,999 trades

Bollinger Band Walk

Also a breakout strategy.

3.10 PF · 148 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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