PriceVolTrend (Function)

image\trumpet2.gif Disclaimer

The PriceVolTrend (PVT) function calculates the price volume trend for the current bar.

Syntax

PriceVolTrend

Returns (Double)

A numeric value containing PVT for the current bar.

Parameters

None

Remarks

PriceVolTrend multiplies the day’s trade volume by the percentage difference between today’s Close and yesterday’s Close. It accumulates the resulting value for each day, either up or down.

The function is calculated as follows:

  PriceVolTrend = (((C - C[1]) / C[1]) * V)

… for the first day, and as follows for subsequent days:

  PriceVolTrend = (((C - C[1]) / C[1]) * V) + PriceVolTrend[1];

Example

Plot1(PriceVolTrend) ;