Buys when a reversal pattern on closing prices and the Ergodic TSI above its own 3-period EMA both point up, and sells short when both point down. Any open position is closed when the two signals disagree.
Best run of 5. Silver, 4 hours, spread 2, from run sweeps:2026-10-12-SILVER-4h-opt.tsv:8.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 4 hours |
| Spread | 2 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 |
|---|---|---|---|---|---|---|
| SilverBest run | 4 hours | n/a | 2,276 | 35.24 | 33,273 USD | -9,949 |
| USD/JPY | Daily | n/a | 1,016 | 37.40 | 1,280,130 USD | -419,900 |
| Brent Crude | Daily | n/a | 393 | 39.44 | 11,235 EUR | -4,840 |
| Gold | 4 hours | n/a | 2,275 | 37.58 | 1,751 EUR | -817 |
| Gold | Daily | n/a | 1,003 | 36.99 | 1,476 EUR | -1,096 |
Charts
The code
// ============================================================== // Reversal With Ergodic TSI // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE postwo = 0 ll = lowest[14](low) hh = highest[14](high)
62 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 5 market and timeframe combinations. The best run by trade count was Silver, 4 hours, with 2,276 trades.
The best run had a maximum drawdown of 9,949 USD at the tested position size, against a net result of 33,273 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.