Blog / Strategy
Strategy

Volume Index Conviction Trend

Disclaimer: This article is for educational and informational purposes only. It does not constitute financial or investment advice. Trading forex and CFDs carries significant risk of loss. Past performance of any strategy — including backtests — does not guarantee future results. Never trade with money you cannot afford to lose.

What Is This Strategy?

The Volume Index Conviction Trend strategy is a trend-following Expert Advisor (EA) built around the Positive Volume Index (PVI) and Negative Volume Index (NVI) — a classic pair of cumulative volume indicators first popularized by Paul Dysart and later refined by Norman Fosback. Instead of measuring price alone, these indicators split every bar into two groups of participants based on how activity changes from one bar to the next, then track each group's footprint separately.

The core idea is simple to state and surprisingly nuanced in practice. On busy bars — where tick volume rises versus the previous bar — the crowd is assumed to be active, so the price change is added to the PVI. On quiet bars — where tick volume falls — the assumption is that informed "smart money" is trading with less noise to hide behind, so the price change is added to the NVI. Fosback's observation was that the NVI, when it trades above its own long-term moving average, historically coincided with periods where quieter, more informed accumulation was underway. This strategy treats the NVI as the higher-conviction signal and uses the PVI only as a confirmation filter.

This EA is best viewed as a learning tool for traders who want to understand how volume-derived indicators can be combined into a single directional decision. It suits students of technical analysis who already grasp moving averages and want to explore a less common indicator family. It is designed for trending conditions on liquid instruments, and — like every strategy — it will behave differently across changing market environments. Approach it as a study in indicator construction, not as a shortcut.

How It Works

The strategy processes only fully closed bars (it reads the bar at shift 1, the one that just completed) to avoid acting on a still-forming candle that could repaint. On each new bar it updates both volume indices, advances their EMAs (Exponential Moving Averages — a weighted average that reacts faster to recent data), and then checks its rules.

Index calculation on every closed bar:

The strategy signals a long entry when all of the following align:

The strategy signals a short entry when the mirror image is true:

Exit and position management logic:

Because the stop and target scale with ATR, the risk-per-trade in price terms widens in fast markets and tightens in calm ones, rather than being fixed to a static pip value.

volume index conviction trend EA
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
SignalPeriod 40 10 150 Period of the EMA applied to the NVI and PVI. Longer values smooth the indices and produce fewer, slower signals; shorter values react faster but generate more crossovers.
AtrPeriod 14 5 40 Number of bars used to calculate the ATR that sizes the stop-loss and take-profit. Larger values give a steadier volatility estimate.
SlMult 2.00 0.50 5.00 Stop-loss distance as a multiple of ATR. Higher multiples place a wider stop that is less easily hit by noise but risks more per trade.
TpMult 3.00 0.50 8.00 Take-profit distance as a multiple of ATR. This default pairs a 3× target with a 2× stop for a roughly 1.5:1 reward-to-risk shape.
Lots 0.10 0.01 1.00 Fixed trade size in lots. This is a static volume and does not scale with account equity.
volume index conviction trend EA — MQL5 source code

Recommended Chart Settings

The Volume Index Conviction Trend strategy was designed with a liquid FX major such as EUR/USD in mind, on an intraday timeframe like M15 or M30. Liquid majors tend to produce cleaner tick-volume readings, which matters because the entire PVI/NVI split depends on comparing tick volume from bar to bar. The symbol and timeframe are read from the chart at run time and are never hard-coded, so you are free to test other markets and periods.

Keep in mind that tick volume is a proxy for real traded volume in the decentralized forex market, and it can differ between brokers. Results will vary across different instruments, timeframes, and market conditions, so treat any single configuration as a starting point for study rather than a finished setting.

How to Install on MetaTrader 5

What to Consider Before Using This EA

Strengths of the approach. The PVI/NVI framework is a genuinely different lens on the market — it draws on the relationship between volume and price rather than price alone, and it is uncommon enough that studying it broadens your technical toolkit. Using the NVI as the primary signal and the PVI as a same-side filter is a thoughtful way to avoid entering against an obviously stampeding crowd. The ATR-based stops and targets adapt to volatility automatically, and the strict new-bar gate avoids repainting on unclosed candles.

Known limitations. The indices rely on tick volume, which is not true traded volume and can vary from broker to broker; a strategy tuned on one data feed may behave differently on another. As a trend-following system, it is designed for directional markets and can suffer repeated small losses during sideways, choppy conditions where crossovers occur frequently without follow-through. Because it flips on opposite signals, a series of whipsaws can lead to a cluster of quick entries and exits. The fixed Lots size does not scale with your account, so position sizing must be managed manually.

Where it may underperform. Low-liquidity sessions, news-driven volatility spikes, and range-bound markets are the classic weak spots for any crossover trend system. No indicator predicts the future; the NVI/PVI relationship may indicate a shift in participation, but it can be wrong, and it can lag. Treat every signal as a probabilistic idea to be tested, not a certainty.

Risk Management Tips

Sound risk management matters far more than any single indicator setting. Consider these general principles as part of your education:

Risk Warning

Trading foreign exchange, CFDs, and other leveraged financial instruments involves substantial risk of loss and is not suitable for all investors. The strategies and tools discussed on this page are provided for educational purposes only and do not constitute financial advice, investment recommendations, or solicitation to trade. Always consult a qualified financial adviser before making trading decisions. Past backtest performance is not indicative of future results.

Downloads

← Back to Blog