Join waitlist
Strategies / Trend / Regime Adjusted Supertrend Entry

Regime Adjusted Supertrend Entry

Enters on Supertrend flips that pass a 65 point score built from volume, band distance, trend alignment and regime, with volume above its 20-bar average. Each trade has a stop 6 ATR away and a target 2.5 times that distance.

TrendLong & shortSwingNikkei 2251 hour
1.43Profit factor
54,626Net profit USD
41.12%Win rate
569Trades
-10,708Max drawdown
96.00Avg trade

Best run of 15. Nikkei 225, 1 hour, spread 10, from run pf:2026-10-04-NIKKEI-1h.tsv:1.

Entry rules, long

  1. The Supertrend flips to an uptrend (ATR 10, base factor 3, scaled by regime).
  2. The close is above the 50-period EMA and the regime is not ranging.
  3. Volume is above its 20-bar average.
  4. More than 5 bars have passed since the last entry.

Entry rules, short

  1. The Supertrend flips to a downtrend (ATR 10, base factor 3, scaled by regime).
  2. The close is below the 50-period EMA and the regime is not ranging.
  3. Volume is above its 20-bar average.
  4. More than 5 bars have passed since the last entry.

Exit rules

  1. A target at 2.5 times the stop distance closes the trade.
  2. An opposite signal reverses the open position.

Test conditions

PeriodUp to 2026-10-04
InstrumentNikkei 225, 1 hour
Spread10 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
Nikkei 225Best run1 hour1.43 56941.1254,626 USD-10,708
Silver1 hourn/a 1,10036.0945,987 USD-15,234
Silver30 minn/a 2,02235.1624,989 USD-19,624
USD/JPY4 hoursn/a 54831.7522,700 USD-6,220
Nikkei 2255 minn/a 1,56235.7922,116 USD-19,739
SilverDailyn/a 5944.0721,207 USD-4,720
Dow JonesDailyn/a 2360.8718,136 EUR-10,043
Nikkei 225Dailyn/a 2646.1510,466 USD-9,272
Nasdaq 1001 hourn/a 68138.479,827 EUR-6,567
USD/JPYDailyn/a 6535.387,290 USD-3,510
US Crude Oil4 hoursn/a 27238.245,680 EUR-4,849
S&P 5001 hourn/a 70938.503,923 EUR-1,020
S&P 5004 hoursn/a 16641.571,964 EUR-1,247
Gold4 hoursn/a 39236.731,287 EUR-979
Gold2 minn/a 2,18535.241,131 EUR-923

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Regime Adjusted Supertrend Entry
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE stband = 0
ONCE stdir = 1
ONCE hasband = 0
ONCE lastentry = 0

bmult = 3.0
myAtr = AverageTrueRange[10](close)
atrma = Average[40](myAtr)

203 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

SuperTrendATRADXTrue RangeEMASMAVolume
Longer historyRe-run on up to 1,000,000 barsNikkei 225 · 1 hour · older data 285.40 USD

Nikkei 225 had no history beyond the standard run, so both runs used 90,000 bars.

Nikkei 225 · 1 hour

Bars available90,000
Net, standard 200,000-bar run54,626.30 USD
Net, long run54,911.70 USD
Net on the older data alone285.40 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 Regime Adjusted Supertrend Entry 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 15 market and timeframe combinations. The best run was Nikkei 225, 1 hour, with a profit factor of 1.43 over 569 trades.

How large was the drawdown?

The best run had a maximum drawdown of 10,708 USD at the tested position size, against a net result of 54,626 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

Rock Climber

Best run on the same market, Nikkei 225.

1.44 PF · 1,644 trades

Three MA Trend

Also a trend strategy.

1.43 PF · 689 trades

Get the full rules, the complete code and the ProRealAlgos portfolio as a member.

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