The strategy buys when the 14-bar correlation between close and bar number crosses above -0.65 while the close is above its 55-bar volume-weighted average. It closes the long when that correlation crosses above 0.65.
Best run of 8. Dow Jones, 15 min, spread 3, from run sweeps:2026-10-12-DOW30-15m-opt.tsv:9.
| Period | Up to 2026-10-12 |
| Instrument | Dow Jones, 15 minutes |
| 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 |
|---|---|---|---|---|---|---|
| Dow JonesBest run | 15 min | n/a | 1,867 | 66.85 | 6,488 EUR | -5,156 |
| EUR/USD | 4 hours | n/a | 446 | 67.49 | 26,814 USD | -14,410 |
| Nikkei 225 | 4 hours | n/a | 289 | 68.86 | 10,105 USD | -6,812 |
| Silver | Daily | n/a | 99 | 66.67 | 8,230 USD | -3,938 |
| Dow Jones | Daily | n/a | 165 | 71.52 | 7,076 EUR | -6,277 |
| DAX 40 | 4 hours | n/a | 325 | 69.85 | 6,746 EUR | -4,348 |
| GBP/USD | Daily | n/a | 121 | 70.25 | 5,958 USD | -2,943 |
| GBP/USD | 4 hours | n/a | 446 | 63.68 | 3,282 USD | -2,040 |
Charts
The code
// ============================================================== // Price Trend Correlation Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE tsi = 0 bi = BarIndex mx = Average[14](bi) my = Average[14](close) mxy = Average[14](close * bi) cov = mxy - mx * my sdy = STD[14](close)
22 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 Dow Jones, 15 minutes, with 1,867 trades.
The best run had a maximum drawdown of 5,156 EUR at the tested position size, against a net result of 6,488 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.