Buys when Supertrend (ATR 10, factor 3) is bullish and RSI(14) is above 50, and sells short when Supertrend is bearish and RSI is below 50. Longs close above RSI 70 and shorts close below RSI 30.
Best run of 8. USD/JPY, Daily, spread 1, from run sweeps:2026-10-03-USDJPY-D-opt.tsv:82.
| Period | Up to 2026-10-03 |
| 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-03 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| USD/JPYBest run | Daily | n/a | 1,398 | 59.23 | 868,360 USD | -684,880 |
| EUR/USD | Daily | n/a | 1,186 | 56.24 | 108,089 USD | -54,291 |
| Nikkei 225 | Daily | n/a | 1,130 | 57.08 | 41,955 USD | -19,946 |
| Silver | Daily | n/a | 1,130 | 52.30 | 21,590 USD | -17,096 |
| Brent Crude | Daily | n/a | 561 | 57.58 | 18,853 EUR | -6,081 |
| Dow Jones | Daily | n/a | 1,338 | 55.75 | 18,265 EUR | -12,720 |
| Nasdaq 100 | Daily | n/a | 1,177 | 48.51 | 16,509 EUR | -5,165 |
| US Crude Oil | Daily | n/a | 1,073 | 54.52 | 15,623 EUR | -6,235 |
Charts
The code
// ============================================================== // Supertrend RSI Fifty Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE ub = 0 ONCE lb = 0 ONCE dir = 1 ONCE st = 0 myAtr = AverageTrueRange[10](close) upper = MedianPrice + 3.0 * myAtr lower = MedianPrice - 3.0 * myAtr
59 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 8 market and timeframe combinations. The best run by trade count was USD/JPY, Daily, with 1,398 trades.
The best run had a maximum drawdown of 684,880 USD at the tested position size, against a net result of 868,360 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.