Blog / Strategy
Strategy

Price Volume Correlation 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 Price Volume Correlation Trend strategy is a volume-confirmed trend-following system whose core engine is the rolling Pearson correlation between closing price and tick volume. Pearson correlation is a statistical measure, ranging from −1 to +1, that describes how tightly two series move together. Here it is applied to a moving window of recent candles to answer one simple question: as price has been moving, has trading participation been expanding in the same direction? When it has, the strategy treats that co-movement as a sign of genuine conviction behind a trend.

The idea rests on the old market adage that "effort accompanies result." In a healthy uptrend, more participants join as the move develops, so rising prices are accompanied by rising volume and the correlation turns positive. In a healthy downtrend, falling prices paired with rising volume push the correlation negative. A rally that unfolds on shrinking or indifferent volume produces a weak or wrong-signed correlation, and the strategy deliberately steps aside. This approach is intentionally different from accumulation-style volume tools such as OBV, CMF, or MFI, which weight or accumulate volume, and different from price-versus-time trend gauges, which ignore volume altogether.

As a learning tool, this strategy suits traders who want to understand how volume confirmation can be measured directly rather than inferred. It is best viewed as a study in combining a directional filter with a statistical timing signal, and it is designed for trending market conditions rather than flat, rangebound chop. It is not a shortcut to results — it is a framework for studying how price and participation interact.

How It Works

The strategy evaluates one completed candle at a time and only acts on the close of a new bar, which keeps signals stable and avoids reacting to a still-forming candle. It combines a trend-direction filter, a volume-conviction timing trigger, and an ATR-based risk frame.

price volume correlation strategy
Illustrative example of the strategy’s entry and exit logic — not real trading results.

Strategy Parameters

Parameter Default Min Max Description
CorrPeriod 20 8 60 Window length (in bars) for the price/volume Pearson correlation — the conviction meter.
TrendPeriod 50 20 200 EMA length that defines the prevailing trend direction.
CorrThreshold 0.35 0.10 0.80 Conviction threshold the signed correlation must freshly cross to trigger an entry.
AtrPeriod 14 7 30 ATR length used to calculate stop-loss and take-profit distances.
AtrSlMult 2.0 1.0 4.0 Stop-loss distance as a multiple of ATR from the entry price.
AtrTpMult 3.0 1.0 6.0 Take-profit distance as a multiple of ATR from the entry price.
Lots 0.10 0.01 1.0 Fixed trade size in lots.

The parameter set is intentionally small and broadly ranged to reduce the temptation of curve-fitting — tuning values so precisely to past data that they fail on new data.

price volume correlation strategy — MQL5 source code

Recommended Chart Settings

This strategy is timeframe-agnostic by design: every calculation uses the chart's currently selected period, so it runs on whatever timeframe you attach it to. A practical starting point for study is a liquid major forex pair such as EUR/USD on the H1 (1-hour) timeframe, where tick-volume data is dense enough to make the price/volume correlation meaningful and trends persist long enough for the EMA filter to work. Higher timeframes tend to produce fewer, cleaner signals, while lower timeframes generate more signals but more noise.

Because tick volume is a proxy for the number of price updates rather than true traded contracts, its character differs across brokers and instruments. Results will vary across different market conditions, symbols, and brokers, so any timeframe you choose should be studied on your own data before drawing conclusions.

How to Install on MetaTrader 5

What to Consider Before Using This EA

The main strength of the Price Volume Correlation Trend approach is that it seeks confirmation rather than prediction. By requiring both a directional EMA filter and a fresh volume-conviction cross, it avoids entering purely on price momentum that lacks participation behind it. The conviction-loss exit adds a layer of adaptive risk control that can release a position before the stop when the volume story changes, which may indicate the move is fading.

There are, however, real limitations to understand. Tick volume is not true exchange volume; in decentralized forex markets it counts price changes, which is only a proxy for genuine activity. Correlation is also a co-movement measure, not a causation measure — a high reading tells you price and volume moved together historically, not that the trend will continue. Like all trend-following systems, this strategy tends to underperform in flat, choppy, or rangebound conditions, where the EMA slope flip-flops and correlation crosses produce false starts. Sharp news-driven spikes can also distort the correlation window temporarily.

You should treat this EA as an analytical instrument for studying volume-confirmed trend logic, not as a finished trading solution. Its behavior depends heavily on the symbol, timeframe, and broker feed you use, and it will experience losing streaks like any strategy. Thorough forward-testing on a demo account is essential before drawing any conclusions.

Risk Management Tips

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