Sells short when a wide Supertrend (ATR 4, factor 22) flips from an uptrend to a downtrend, and covers the short when the line flips back up. No stop loss or profit target is used.
Best run of 6. USD/JPY, 10 min, spread 1, from run sweeps:2026-10-07-USDJPY-10m-opt.tsv:8.
| Period | Up to 2026-10-07 |
| Instrument | USD/JPY, 10 minutes |
| 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-07 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | 10 min | n/a | 516 | 42.64 | 34,190 USD | -25,130 |
| Nikkei 225 | Daily | n/a | 25 | 52.00 | 1,785 USD | -1,099 |
| Dow Jones | Daily | n/a | 11 | 63.64 | 930 EUR | -420 |
| Dow Jones | 4 hours | n/a | 23 | 52.17 | 737 EUR | -313 |
| GBP/USD | Daily | n/a | 26 | 46.15 | 632 USD | -530 |
| S&P 500 | Daily | n/a | 14 | 35.71 | 484 EUR | -94.43 |
Charts
The code
// ============================================================== // Wide Band Supertrend Short Only // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Short only // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE lb = 0 ONCE ub = 0 ONCE st = 0 ONCE dir = 1 myAtr = AverageTrueRange[4](close) bu = MedianPrice + 22 * myAtr bl = MedianPrice - 22 * myAtr prevlb = lb prevub = ub prevst = st
45 more lines: the entry and exit rules.
Setup
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 6 market and timeframe combinations. The best run by trade count was USD/JPY, 10 minutes, with 516 trades.
The best run had a maximum drawdown of 25,130 USD at the tested position size, against a net result of 34,190 USD.
It only takes short trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.