The strategy buys when a 5-period exponential average of RSI(20) crosses above 50 and sells short when it crosses below 50, reversing any open position. Each trade uses a stop and target of 0.435% from the entry price.
Best run of 1. Dow Jones, 4 hours, spread 3, from run sweeps:2026-10-11-DOW30-4h-opt.tsv:7.
| Period | Up to 2026-10-11 |
| Instrument | Dow Jones, 4 hours |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 4 hours | n/a | 434 | 50.69 | 3,891 EUR | -3,645 |
Charts
The code
// ============================================================== // RSI Smoothed Signal Crossover // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[20](close) rsiema = ExponentialAverage[5](myRsi)
13 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 one combination, Dow Jones, 4 hours, with 434 trades.
The best run had a maximum drawdown of 3,645 EUR at the tested position size, against a net result of 3,891 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.