Buys when SuperTrend is in an up trend and RSI(14) crosses above 50. Closes the long when RSI(14) is above 72 or SuperTrend flips to a down trend.
Best run of 2. EUR/USD, Daily, spread 1, from run sweeps:2026-10-04-EURUSD-D-opt.tsv:30.
| Period | Up to 2026-10-04 |
| Instrument | EUR/USD, 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | Daily | n/a | 1 | 100.00 | 4,370 USD | -850 |
| US Crude Oil | 4 hours | n/a | 1 | 100.00 | 559 EUR | -145 |
Charts
The code
// ============================================================== // SuperTrend RSI Crossover Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lowband = 0 ONCE upband = 0 ONCE dir = 1 myAtr = AverageTrueRange[10](close) myRsi = RSI[14](close) olddir = dir mid = (high + low) / 2 rawup = mid + 3.0 * myAtr rawlow = mid - 3.0 * myAtr
30 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 2 market and timeframe combinations. The best run by trade count was EUR/USD, Daily, with 1 trades.
The best run had a maximum drawdown of 850 USD at the tested position size, against a net result of 4,370 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.