Join waitlist
Strategies / Momentum / Reversal With Finite Volume Elements

Reversal With Finite Volume Elements

Buys when a reversal pattern on closing prices and the Finite Volume Elements measure both point up, and sells short when both point down. Any open position is closed when the two signals disagree.

MomentumLong & shortSwingGBP/USD1 hour
1.21Profit factor
12,919Net profit USD
43.65%Win rate
1,267Trades
-2,312Max drawdown
10.20Avg trade

Best run of 9. GBP/USD, 1 hour, spread 1.5, from run pf:2026-10-12-GBPUSD-1h.tsv:1.

Entry rules, long

  1. FVE state is +1 when the FVE value is above both of its last two values, and -1 when it is below both.
  2. The system buys one contract at market when both states are +1.

Entry rules, short

  1. FVE state is -1 when the FVE value is below both of its last two values.
  2. The system sells short one contract at market when both states are -1.

Exit rules

  1. A short closes when the two states no longer both point down.
  2. There is no stop or target.

Test conditions

PeriodUp to 2026-10-12
InstrumentGBP/USD, 1 hour
Spread1.5 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GBP/USDBest run1 hour1.21 1,26743.6512,919 USD-2,312
USD/JPY30 minn/a 1,21339.16404,940 USD-239,750
USD/JPY10 minn/a 98137.00279,950 USD-138,010
Silver4 hoursn/a 2,14635.0425,825 USD-17,214
DAX 4030 minn/a 1,20138.387,846 EUR-5,480
DAX 40Dailyn/a 26841.047,281 EUR-3,889
S&P 500Dailyn/a 24640.241,769 EUR-1,583
Gold5 minn/a 1,23236.931,377 EUR-813
Gold30 minn/a 1,70539.411,133 EUR-860

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reversal With Finite Volume Elements
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Momentum
// Direction: Long & short
// Timeframe tested: 1 hour
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE posrev = 0
ONCE sincebad = 1000
ONCE nres = 0
ONCE posfve = 0

ll = lowest[15](low)
hh = highest[15](high)

61 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

SMAStochasticVolume
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Reversal With Finite Volume Elements 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 9 market and timeframe combinations. The best run was GBP/USD, 1 hour, with a profit factor of 1.21 over 1,267 trades.

How large was the drawdown?

The best run had a maximum drawdown of 2,312 USD at the tested position size, against a net result of 12,918 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

Color Code Candle Flip

Best run on the same market, GBP/USD.

1.56 PF · 3,285 trades

Displacement Candle Continuation

Also a momentum strategy.

1.21 PF · 1,905 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

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