Join waitlist
Strategies / Trend / Consensus Trend Vote Long

Consensus Trend Vote Long

The strategy buys when a vote of trend indicators turns confirmed bullish and closes the long when the vote turns confirmed bearish. A bullish reading needs bull votes to exceed bear votes by more than 1 on 2 consecutive bars.

TrendLong onlySwingNasdaq 100Daily
2.84Profit factor
21,179Net profit EUR
46.15%Win rate
143Trades
-3,078Max drawdown
148Avg trade

Best run of 32. Nasdaq 100, Daily, spread 3, from run pf:2026-10-05-NAS100-D.tsv:24.

Entry rules, long

  1. The confirmed trend state is bullish while the strategy is flat, which buys 1 contract.

Exit rules

  1. The long closes when the confirmed trend state turns bearish, which requires 2 consecutive bearish bars.

Test conditions

PeriodUp to 2026-10-05
InstrumentNasdaq 100, Daily
Spread3 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-05

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
Nasdaq 100Best runDaily2.84 14346.1521,179 EUR-3,078
Dow JonesDaily2.41 20034.0034,548 EUR-4,420
Nikkei 225Daily2.04 15333.3357,527 USD-11,982
USD/JPYDailyn/a 17831.46982,940 USD-542,890
USD/JPY30 minn/a 2,56730.00716,650 USD-217,450
USD/JPY10 minn/a 2,69329.15382,010 USD-128,350
USD/JPY15 minn/a 2,67528.90232,130 USD-143,170
EUR/USDDailyn/a 17230.8165,038 USD-43,228
Nikkei 2254 hoursn/a 37031.8928,829 USD-12,951
Nikkei 2251 hourn/a 1,34530.1918,949 USD-13,014
Nasdaq 10030 minn/a 2,44932.8315,312 EUR-4,241
Dow Jones4 hoursn/a 13838.4112,337 EUR-5,597
US Crude OilDailyn/a 15839.8712,188 EUR-7,599
DAX 4030 minn/a 2,54231.5511,463 EUR-3,349
DAX 40Dailyn/a 19734.5210,727 EUR-5,170
Nasdaq 1004 hoursn/a 43935.3110,483 EUR-5,770
Nikkei 2253 minn/a 2,65728.799,650 USD-8,966
Dow Jones1 hourn/a 52631.758,140 EUR-6,677
Brent Crude1 hourn/a 82531.036,860 EUR-4,792
Nasdaq 10015 minn/a 2,56129.996,833 EUR-3,944
DAX 404 hoursn/a 44830.586,320 EUR-3,676
DAX 401 hourn/a 1,46532.495,967 EUR-3,724
Nasdaq 1005 minn/a 2,58229.095,915 EUR-4,451
DAX 4015 minn/a 2,64728.985,894 EUR-3,780
S&P 500Dailyn/a 20334.983,414 EUR-1,378
GoldDailyn/a 18931.753,148 EUR-1,214
Gold4 hoursn/a 42731.622,681 EUR-1,422
S&P 5004 hoursn/a 43735.472,623 EUR-934
Gold30 minn/a 2,54829.162,528 EUR-1,124
Gold1 hourn/a 1,53330.012,317 EUR-1,234
Gold15 minn/a 2,71627.061,310 EUR-922
S&P 50030 minn/a 2,52632.221,058 EUR-1,017

Charts

Results by run

Top 10 of 32 runs. The full list is in the table above.

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Consensus Trend Vote Long
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Trend
// Direction: Long only
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lowerb = 0
ONCE upperb = 0
ONCE stval = 0
ONCE stdir = 1
ONCE trendconf = 0
ONCE finaltrend = 0

atrst = AverageTrueRange[10](close)
ubraw = MedianPrice + 3 * atrst
lbraw = MedianPrice - 3 * atrst
prevlower = lowerb
prevupper = upperb
prevst = stval

198 more lines: the entry and exit rules.

Setup

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

ATRDMIEMASMAStandard DeviationStochasticSuperTrendTrue RangeWilder Average
Longer historyRe-run on up to 1,000,000 barsNasdaq 100 · Daily · older data 271.20 EUR

Nasdaq 100 had no history beyond the standard run, so both runs used 10,000 bars.

Nasdaq 100 · Daily

Bars available10,000
Net, standard 200,000-bar run21,179.40 EUR
Net, long run21,450.60 EUR
Net on the older data alone271.20 EUR
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Consensus Trend Vote Long in ProOrder?

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.

Which markets was it tested on?

It was tested on 32 market and timeframe combinations. The best run was Nasdaq 100, Daily, with a profit factor of 2.84 over 143 trades.

How large was the drawdown?

The best run had a maximum drawdown of 3,078 EUR at the tested position size, against a net result of 21,179 EUR.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Volatility Spike Regression Long

Best run on the same market, Nasdaq 100.

1.22 PF · 1,850 trades

Weighted Multi Indicator Trend Vote

Also a trend strategy.

2.85 PF · 146 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

Copy trading on US indices is available to ProRealAlgos members as spots open.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs