The strategy buys when the 50 period Hull moving average is rising and SuperTrend (ATR 10, factor 3) is bullish, and sells short when the average is falling and SuperTrend is bearish. Positions close when the slope and SuperTrend disagree.
Best run of 5. USD/JPY, Daily, spread 1, from run pf:2026-10-10-USDJPY-D.tsv:9.
| Period | Up to 2026-10-10 |
| Instrument | USD/JPY, Daily |
| Spread | 1 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | 1.73 | 331 | 36.56 | 2,573,000 USD | -413,550 |
| USD/JPY | 1 hour | n/a | 3,558 | 32.88 | 507,420 USD | -274,240 |
| EUR/USD | Daily | n/a | 325 | 36.92 | 86,882 USD | -44,297 |
| GBP/USD | Daily | n/a | 360 | 34.17 | 8,787 USD | -5,309 |
| Brent Crude | Daily | n/a | 124 | 29.84 | 8,367 EUR | -6,908 |
Charts
The code
// ============================================================== // Hull Slope SuperTrend Choppy Exit // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lb = 0 ONCE ub = 0 ONCE dir = 1 whalf = WeightedAverage[25](close) wfull = WeightedAverage[50](close) raw = 2 * whalf - wfull hma = WeightedAverage[7](raw) myAtr = AverageTrueRange[10](close) prevlb = lb prevub = ub prevdir = dir nlb = MedianPrice - 3.0 * myAtr nub = MedianPrice + 3.0 * myAtr
49 more lines: the entry and exit rules.
Setup
USD/JPY had no history beyond the standard run, so both runs used 12,000 bars.
| Bars available | 12,000 |
| Net, standard 200,000-bar run | 2,573,000.00 USD |
| Net, long run | 2,573,000.00 USD |
| Net on the older data alone | 0.00 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 5 market and timeframe combinations. The best run was USD/JPY, Daily, with a profit factor of 1.73 over 331 trades.
The best run had a maximum drawdown of 413,550 USD at the tested position size, against a net result of 2,573,000 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.