A composite oscillator blends rate of change, RSI, CCI, Williams %R and ADX into one reading. It buys when its 9-bar average crosses above 0.25 and closes the long when that average crosses below 0.75.
Best run of 19. S&P 500, 15 min, spread 1, from run sweeps:2026-10-11-USA500-15m-opt.tsv:12.
| Period | Up to 2026-10-11 |
| Instrument | S&P 500, 15 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| S&P 500Best run | 15 min | n/a | 2,405 | 55.84 | 1,920 EUR | -1,026 |
| USD/JPY | 4 hours | n/a | 468 | 57.48 | 299,620 USD | -288,280 |
| Nikkei 225 | Daily | n/a | 148 | 61.49 | 33,192 USD | -17,329 |
| Silver | Daily | n/a | 175 | 60.00 | 27,942 USD | -12,061 |
| Nikkei 225 | 4 hours | n/a | 336 | 59.52 | 27,056 USD | -11,264 |
| Dow Jones | 15 min | n/a | 1,975 | 57.82 | 24,666 EUR | -7,184 |
| Dow Jones | Daily | n/a | 195 | 65.64 | 22,975 EUR | -7,998 |
| Nasdaq 100 | 4 hours | n/a | 412 | 60.19 | 14,001 EUR | -5,116 |
| Dow Jones | 4 hours | n/a | 132 | 65.91 | 13,941 EUR | -9,479 |
| DAX 40 | Daily | n/a | 204 | 66.18 | 13,795 EUR | -6,457 |
| Nasdaq 100 | 15 min | n/a | 2,398 | 57.76 | 10,587 EUR | -4,272 |
| Dow Jones | 30 min | n/a | 995 | 59.10 | 9,802 EUR | -7,794 |
| Nasdaq 100 | Daily | n/a | 145 | 62.76 | 9,252 EUR | -3,648 |
| DAX 40 | 4 hours | n/a | 416 | 60.58 | 7,925 EUR | -7,759 |
| Dow Jones | 10 min | n/a | 2,397 | 55.86 | 7,064 EUR | -6,803 |
| FTSE 100 | Daily | n/a | 159 | 64.15 | 6,490 EUR | -2,964 |
| S&P 500 | 4 hours | n/a | 408 | 66.42 | 3,116 EUR | -1,025 |
| S&P 500 | Daily | n/a | 205 | 60.98 | 2,708 EUR | -890 |
| Gold | Daily | n/a | 184 | 60.87 | 1,818 EUR | -859 |
Charts
Top 10 of 19 runs. The full list is in the table above.
The code
// ============================================================== // Composite Momentum Oscillator Crossover (long only) 3 // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE osc = 0.5 ONCE sincebad = 1000 myRoc = close - close[20] myRsi = RSI[14](close) sma = Average[20](close) dev = 0
49 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 19 market and timeframe combinations. The best run by trade count was S&P 500, 15 minutes, with 2,405 trades.
The best run had a maximum drawdown of 1,026 EUR at the tested position size, against a net result of 1,920 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.