Join waitlist
Strategies / Trend / Bollinger Trend SuperTrend Long

Bollinger Trend SuperTrend Long

The system builds a BBTrend value from how the 20 and 50-period Bollinger Bands differ, then runs a SuperTrend on it. It holds long while the SuperTrend is bullish and exits when it turns bearish.

TrendLong onlyIntradayUSD/JPY30 min
n/aProfit factor
771,500Net profit USD
100.00%Win rate
1Trades
-260,990Max drawdown
771,500Avg trade

Best run of 68. USD/JPY, 30 min, spread 1, from run sweeps:2026-10-12-USDJPY-30m-opt.tsv:31.

Entry rules, long

  1. Its trailing lines sit 7 times a 10-period Wilder average true range above and below the bar midpoint.

Exit rules

  1. No stop loss or target is set.

Test conditions

PeriodUp to 2026-10-12
InstrumentUSD/JPY, 30 minutes
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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest run30 minn/a 1100.00771,500 USD-260,990
USD/JPY4 hoursn/a 1100.00520,920 USD-483,860
USD/JPY1 hourn/a 1100.00510,780 USD-484,160
USD/JPY10 minn/a 1100.00482,120 USD-246,630
USD/JPY15 minn/a 1100.00461,620 USD-245,400
Nikkei 2254 hoursn/a 1100.0059,775 USD-11,811
Nikkei 2251 hourn/a 1100.0059,533 USD-12,691
Nikkei 22530 minn/a 1100.0059,505 USD-12,879
Nikkei 225Dailyn/a 1100.0057,858 USD-31,906
Dow JonesDailyn/a 1100.0050,973 EUR-11,142
Nikkei 22515 minn/a 1100.0046,856 USD-13,076
Nikkei 22510 minn/a 1100.0039,584 USD-12,992
Nikkei 2255 minn/a 1100.0032,830 USD-13,126
Nikkei 2253 minn/a 1100.0030,905 USD-13,081
Nasdaq 100Dailyn/a 1100.0030,729 EUR-5,914
Nasdaq 1004 hoursn/a 1100.0029,398 EUR-5,975
Nasdaq 1001 hourn/a 1100.0029,278 EUR-6,233
Nasdaq 10030 minn/a 1100.0028,966 EUR-6,277
Nikkei 2252 minn/a 1100.0025,866 USD-13,121
DAX 40Dailyn/a 1100.0024,706 EUR-5,862
Nasdaq 10015 minn/a 1100.0023,583 EUR-6,288
Dow Jones15 minn/a 1100.0023,164 EUR-11,342
Dow Jones30 minn/a 1100.0023,020 EUR-11,342
Dow Jones1 hourn/a 1100.0022,959 EUR-11,342
Dow Jones4 hoursn/a 1100.0022,310 EUR-11,261
DAX 4030 minn/a 1100.0019,730 EUR-5,810
DAX 404 hoursn/a 1100.0019,553 EUR-5,779
DAX 401 hourn/a 1100.0019,163 EUR-5,810
Dow Jones10 minn/a 1100.0017,772 EUR-8,394
Nasdaq 10010 minn/a 1100.0017,471 EUR-6,298
Nikkei 2251 minn/a 1100.0015,995 USD-13,148
Dow Jones5 minn/a 1100.0014,253 EUR-8,419
Nasdaq 1005 minn/a 1100.0013,728 EUR-5,875
DAX 4015 minn/a 1100.0012,863 EUR-5,814
DAX 4010 minn/a 1100.0010,217 EUR-4,474
FTSE 100Dailyn/a 1100.009,575 EUR-3,643
Nasdaq 1003 minn/a 1100.008,899 EUR-5,786
DAX 405 minn/a 1100.008,702 EUR-4,463
Dow Jones3 minn/a 1100.007,790 EUR-7,639
S&P 500Dailyn/a 1100.007,734 EUR-1,238
Nasdaq 1001 minn/a 1100.007,341 EUR-3,760
Nasdaq 1002 minn/a 1100.007,195 EUR-3,756
S&P 50030 minn/a 1100.006,637 EUR-1,319
S&P 5004 hoursn/a 1100.006,538 EUR-1,298
S&P 5001 hourn/a 1100.006,514 EUR-1,317
Dow Jones2 minn/a 1100.006,378 EUR-5,676
FTSE 1001 hourn/a 1100.006,198 EUR-3,326
FTSE 1004 hoursn/a 1100.006,180 EUR-3,319
Dow Jones1 minn/a 1100.005,615 EUR-4,166
FTSE 10030 minn/a 1100.005,111 EUR-3,080
S&P 50015 minn/a 1100.004,992 EUR-1,319
GoldDailyn/a 1100.004,019 EUR-1,534
S&P 50010 minn/a 1100.003,632 EUR-1,323
FTSE 10010 minn/a 1100.003,625 EUR-1,320
Gold1 hourn/a 1100.003,567 EUR-1,599
Gold4 hoursn/a 1100.003,499 EUR-1,586
FTSE 1005 minn/a 1100.003,117 EUR-1,320
S&P 5005 minn/a 1100.003,093 EUR-1,332
Gold30 minn/a 1100.003,006 EUR-1,624
Gold15 minn/a 1100.002,857 EUR-1,628
DAX 401 minn/a 1100.002,469 EUR-1,831
Gold10 minn/a 1100.002,402 EUR-1,629
Gold5 minn/a 1100.002,219 EUR-1,631
FTSE 1003 minn/a 1100.001,917 EUR-1,372
S&P 5003 minn/a 1100.001,699 EUR-1,330
FTSE 1002 minn/a 1100.001,387 EUR-1,265
S&P 5002 minn/a 1100.001,319 EUR-699
S&P 5001 minn/a 1100.001,248 EUR-396

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Bollinger Trend SuperTrend Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE up = 0
ONCE dn = 0
ONCE dir = 1
ONCE st = 0

smid = Average[20](close)
sstd = STD[20](close)
su = smid + 2 * sstd
sl = smid - 2 * sstd
lmid = Average[50](close)
lstd = STD[50](close)
lu = lmid + 2 * lstd
ll = lmid - 2 * lstd
src = (ABS(sl - ll) - ABS(su - lu)) / smid * 100

bh = MAX(src[1], src)
bl = MIN(src[1], src)
myTr = MAX(MAX(bh - bl, ABS(bh - src[1])), ABS(bl - src[1]))
myAtr = WilderAverage[10](myTr)
mid = (bh + bl) / 2
upraw = mid + 7 * myAtr
dnraw = mid - 7 * myAtr
upp = up[1]
dnp = dn[1]
stp = st[1]

40 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

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

Questions

About this strategy

Can I run Bollinger Trend SuperTrend Long 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 68 market and timeframe combinations. The best run by trade count was USD/JPY, 30 minutes, with 1 trades.

How large was the drawdown?

The best run had a maximum drawdown of 260,990 USD at the tested position size, against a net result of 771,500 USD.

Does it trade long, short or both?

It only takes long trades.

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

ADX Filtered EMA Cross

Also a trend strategy.

1.15 PF · 607 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