The strategy buys when price is above the 50-bar and 200-bar averages and the 9-bar average of RSI(21) is above 57. It sells when price falls below the 50-bar average and that RSI average is below 57.
Best run of 25. Nasdaq 100, Daily, spread 3, from run pf:2026-10-12-NAS100-D.tsv:10.
| Period | Up to 2026-10-12 |
| Instrument | Nasdaq 100, Daily |
| Spread | 3 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | Daily | 3.40 | 116 | 45.69 | 16,830 EUR | -2,308 |
| USD/JPY | Daily | n/a | 107 | 42.06 | 632,960 USD | -307,170 |
| USD/JPY | 30 min | n/a | 1,527 | 39.23 | 452,760 USD | -156,120 |
| USD/JPY | 15 min | n/a | 1,576 | 36.29 | 252,190 USD | -140,660 |
| Nikkei 225 | Daily | n/a | 95 | 44.21 | 37,285 USD | -8,825 |
| Silver | 4 hours | n/a | 246 | 37.40 | 26,507 USD | -16,207 |
| Nikkei 225 | 30 min | n/a | 1,563 | 37.04 | 22,183 USD | -9,287 |
| Nikkei 225 | 1 hour | n/a | 848 | 38.21 | 15,375 USD | -9,791 |
| DAX 40 | 1 hour | n/a | 959 | 39.00 | 10,017 EUR | -2,515 |
| Nikkei 225 | 4 hours | n/a | 240 | 36.67 | 8,984 USD | -7,725 |
| Dow Jones | 4 hours | n/a | 92 | 43.48 | 8,721 EUR | -4,936 |
| Nasdaq 100 | 1 hour | n/a | 1,104 | 38.95 | 8,389 EUR | -3,825 |
| Nasdaq 100 | 4 hours | n/a | 322 | 40.37 | 8,373 EUR | -3,051 |
| Dow Jones | 1 hour | n/a | 347 | 37.75 | 8,277 EUR | -5,337 |
| DAX 40 | 30 min | n/a | 1,638 | 36.45 | 7,863 EUR | -2,574 |
| Nasdaq 100 | 15 min | n/a | 1,677 | 36.49 | 4,831 EUR | -3,096 |
| Nasdaq 100 | 5 min | n/a | 1,636 | 34.17 | 3,467 EUR | -3,429 |
| Gold | Daily | n/a | 113 | 42.48 | 2,889 EUR | -830 |
| Gold | 1 hour | n/a | 944 | 38.03 | 2,536 EUR | -784 |
| Gold | 30 min | n/a | 1,525 | 34.75 | 1,696 EUR | -661 |
| Gold | 4 hours | n/a | 284 | 36.27 | 1,490 EUR | -866 |
| Gold | 15 min | n/a | 1,609 | 32.63 | 1,322 EUR | -458 |
| S&P 500 | 4 hours | n/a | 332 | 37.65 | 1,184 EUR | -669 |
| S&P 500 | Daily | n/a | 168 | 38.69 | 1,089 EUR | -1,010 |
| Gold | 5 min | n/a | 1,629 | 34.44 | 691 EUR | -337 |
Charts
Top 10 of 25 runs. The full list is in the table above.
The code
// ============================================================== // Trend Filtered RSI Average Entry // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false smaf = Average[50](close) smas = Average[200](close) myRsi = RSI[21](close) rsima = Average[9](myRsi)
10 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 25 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 3.40 over 116 trades.
The best run had a maximum drawdown of 2,308 EUR at the tested position size, against a net result of 16,830 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.