The strategy adds three votes: a moving average trend, a 40-bar breakout, and 252-bar momentum, buying when all three agree bullish and selling short when all three agree bearish. It closes a position when the vote total falls back below its exit level.
Best run of 20. EUR/USD, 2 min, spread 1, from run sweeps:2026-10-10-EURUSD-2m-opt.tsv:2.
| Period | Up to 2026-10-10 |
| Instrument | EUR/USD, 2 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | 2 min | n/a | 1,260 | 23.49 | 35,208 USD | -27,443 |
| USD/JPY | 3 min | n/a | 1,120 | 30.27 | 206,030 USD | -84,450 |
| USD/JPY | 5 min | n/a | 1,166 | 29.67 | 149,560 USD | -144,530 |
| EUR/USD | Daily | n/a | 72 | 38.89 | 114,649 USD | -38,420 |
| Nikkei 225 | Daily | n/a | 55 | 47.27 | 68,137 USD | -12,916 |
| EUR/USD | 4 hours | n/a | 265 | 29.43 | 42,886 USD | -32,377 |
| Silver | 30 min | n/a | 1,060 | 27.26 | 25,741 USD | -13,462 |
| Silver | 10 min | n/a | 1,134 | 25.66 | 21,535 USD | -12,751 |
| Nasdaq 100 | Daily | n/a | 45 | 42.22 | 17,740 EUR | -6,890 |
| Silver | 5 min | n/a | 1,198 | 24.21 | 15,605 USD | -13,855 |
| GBP/USD | Daily | n/a | 73 | 35.62 | 12,574 USD | -7,258 |
| DAX 40 | Daily | n/a | 80 | 38.75 | 11,013 EUR | -8,497 |
| Nasdaq 100 | 4 hours | n/a | 180 | 31.11 | 10,413 EUR | -3,526 |
| Brent Crude | 4 hours | n/a | 105 | 30.48 | 7,681 EUR | -6,670 |
| S&P 500 | Daily | n/a | 62 | 48.39 | 4,556 EUR | -948 |
| Gold | Daily | n/a | 71 | 29.58 | 3,146 EUR | -1,466 |
| Gold | 5 min | n/a | 1,109 | 28.04 | 2,132 EUR | -597 |
| Gold | 4 hours | n/a | 186 | 34.95 | 1,974 EUR | -962 |
| Gold | 1 hour | n/a | 672 | 30.51 | 1,477 EUR | -1,198 |
| Gold | 3 min | n/a | 1,140 | 26.05 | 1,394 EUR | -852 |
Charts
Top 10 of 20 runs. The full list is in the table above.
The code
// ============================================================== // Trend Vote Ensemble // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 2 minutes // ============================================================== DEFPARAM CumulateOrders = false fast = Average[50](close) slow = Average[200](close)
36 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 by trade count was EUR/USD, 2 minutes, with 1,260 trades.
The best run had a maximum drawdown of 27,443 USD at the tested position size, against a net result of 35,208 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.