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.
Best run of 15. Nikkei 225, 1 hour, spread 10, from run pf:2026-10-04-NIKKEI-1h.tsv:1.
| Period | Up to 2026-10-04 |
| Instrument | Nikkei 225, 1 hour |
| Spread | 10 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nikkei 225Best run | 1 hour | 1.43 | 569 | 41.12 | 54,626 USD | -10,708 |
| Silver | 1 hour | n/a | 1,100 | 36.09 | 45,987 USD | -15,234 |
| Silver | 30 min | n/a | 2,022 | 35.16 | 24,989 USD | -19,624 |
| USD/JPY | 4 hours | n/a | 548 | 31.75 | 22,700 USD | -6,220 |
| Nikkei 225 | 5 min | n/a | 1,562 | 35.79 | 22,116 USD | -19,739 |
| Silver | Daily | n/a | 59 | 44.07 | 21,207 USD | -4,720 |
| Dow Jones | Daily | n/a | 23 | 60.87 | 18,136 EUR | -10,043 |
| Nikkei 225 | Daily | n/a | 26 | 46.15 | 10,466 USD | -9,272 |
| Nasdaq 100 | 1 hour | n/a | 681 | 38.47 | 9,827 EUR | -6,567 |
| USD/JPY | Daily | n/a | 65 | 35.38 | 7,290 USD | -3,510 |
| US Crude Oil | 4 hours | n/a | 272 | 38.24 | 5,680 EUR | -4,849 |
| S&P 500 | 1 hour | n/a | 709 | 38.50 | 3,923 EUR | -1,020 |
| S&P 500 | 4 hours | n/a | 166 | 41.57 | 1,964 EUR | -1,247 |
| Gold | 4 hours | n/a | 392 | 36.73 | 1,287 EUR | -979 |
| Gold | 2 min | n/a | 2,185 | 35.24 | 1,131 EUR | -923 |
Charts
Top 10 of 15 runs. The full list is in the table above.
The code
// ============================================================== // 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
Nikkei 225 had no history beyond the standard run, so both runs used 90,000 bars.
| Bars available | 90,000 |
| Net, standard 200,000-bar run | 54,626.30 USD |
| Net, long run | 54,911.70 USD |
| Net on the older data alone | 285.40 USD |
Questions
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.
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.
The best run had a maximum drawdown of 10,708 USD at the tested position size, against a net result of 54,626 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.