Function Name: pvt
The Price and Volume Trend (PVT) is similar to On Balance Volume (OBV) in that it is a cumulative total of volume that is adjusted depending on changes in closing prices. But where OBV adds all volume on days when prices close higher and subtracts all volume on days when prices close lower, the PVT adds/subtracts only a portion of the daily volume. The amount of volume added to the PVT is determined by the amount that prices rose or fell relative to the previous day's Close. Many investors feel that the PVT more accurately illustrates the flow of money into and out of a security than does OBV. This is because OBV adds the same amount of volume to the indicator regardless of whether the security closes up a fraction of a point or doubles in price. Whereas the PVT adds only a small portion of volume to the indicator when the price changes by a small percentage and adds a large portion of volume to the indicator when the price changes by a large percentage.