[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [amibroker] PVT Formula



PureBytes Links

Trading Reference Links

Hi,

The solution:

pvt1 = volume * ( close - ref( close, - 1) )/ref( close, -1 );

pvt = cum( pvt1 );
graph0 = pvt;

---------------------------
OR using ROC() function:

pvt1 = volume * roc( close, 1 )/100;

pvt = cum( pvt1 );

Best regards,
Tomasz Janeczko
===============
AmiBroker - the comprehensive share manager.
http://www.amibroker.com


----- Original Message ----- 
From: <tpresley@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, March 07, 2001 6:32 PM
Subject: [amibroker] PVT Formula


> Help! I can't get this to work:
> 
> The PVT is calculated by multiplying the day's volume by the percent 
> that the security's price changed, and adding this value to a 
> cumulative total.
> 
> PVT = ((close - yesterdays close) / yesterdays close) * volume + 
> yesterdays PVT
> 
> pvt = (c-ref(c,-1)) / ref(c,-1) * V + ref(pvt,-1);
> graph0=pvt;
> 
> 
> 
> 
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 
> 
>