The system compares Vortex positive and negative lines summed over 300 bars and smoothed by a 7-period EMA. It buys when their difference crosses above 0.162 and sells short when it crosses below -0.162, with stops and targets set as percentages from entry.
Best run of 20. Silver, 10 min, spread 2, from run pf:2026-10-12-SILVER-10m.tsv:1.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 10 minutes |
| 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 | 10 min | 1.80 | 137 | 59.12 | 11,359 USD | -2,355 |
| USD/JPY | 2 min | n/a | 94 | 45.74 | 126,960 USD | -28,220 |
| USD/JPY | 1 min | n/a | 84 | 45.24 | 121,700 USD | -27,800 |
| Silver | 2 min | n/a | 129 | 57.36 | 11,699 USD | -3,595 |
| Nikkei 225 | 5 min | n/a | 144 | 47.22 | 11,200 USD | -6,827 |
| Silver | 3 min | n/a | 127 | 54.33 | 8,335 USD | -3,523 |
| Nikkei 225 | 2 min | n/a | 142 | 43.66 | 6,243 USD | -4,270 |
| Silver | 5 min | n/a | 131 | 53.44 | 6,089 USD | -3,349 |
| Silver | 1 min | n/a | 101 | 44.55 | 5,644 USD | -3,274 |
| Nasdaq 100 | 30 min | n/a | 211 | 59.24 | 5,212 EUR | -1,883 |
| Nasdaq 100 | 4 hours | n/a | 56 | 73.21 | 3,026 EUR | -1,205 |
| Silver | 4 hours | n/a | 25 | 80.00 | 2,699 USD | -795 |
| S&P 500 | 5 min | n/a | 130 | 48.46 | 1,062 EUR | -601 |
| Gold | 2 min | n/a | 84 | 45.24 | 707 EUR | -330 |
| Gold | 1 hour | n/a | 120 | 65.83 | 607 EUR | -327 |
| Gold | 3 min | n/a | 110 | 49.09 | 554 EUR | -354 |
| Gold | 4 hours | n/a | 36 | 75.00 | 453 EUR | -109 |
| Gold | Daily | n/a | 25 | 76.00 | 415 EUR | -71.40 |
| Gold | 5 min | n/a | 113 | 47.79 | 413 EUR | -319 |
| S&P 500 | Daily | n/a | 32 | 65.62 | 379 EUR | -164 |
Charts
Top 10 of 20 runs. The full list is in the table above.
The code
// ============================================================== // Vortex Indicator Threshold Crossover // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false vmp = summation[300](ABS(high - low[1])) vmm = summation[300](ABS(low - high[1])) str = summation[300](TR(close)) vip = ExponentialAverage[7](vmp / str) vim = ExponentialAverage[7](vmm / str) diff = vip - vim
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 20 market and timeframe combinations. The best run was Silver, 10 minutes, with a profit factor of 1.80 over 137 trades.
The best run had a maximum drawdown of 2,354 USD at the tested position size, against a net result of 11,358 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.