PVT (i) = ((CLOSE (i) - CLOSE (i - 1)) / CLOSE (i - 1)) * VOLUME (i) + PVT (i - 1)
Where:
CLOSE (i) — the closing price of the current bar;
CLOSE (i - n) — the closing price n bars ago;
VOLUME (i) — the volume of the current bar;
PVT (i) — the current value of PVT indicator;
PVT (i - 1) — the value of PVT indicator on the previous bar
Thanks!
Comment