Seer logo - advanced backtesting for stock, futures and forex trading systems using using technical analysis indicators, charts, money management and position sizing
SID NameDescriptionRating
206 PVOPercentage Volume Oscillator (PVO) - A MACD like technical analysis applied to Volume.Not Rated

technical analysis indicatorThe logic for this technical analysis indicator:

#Percentage Volume Oscillator (PVO) - A MACD like technical analysis applied to Volume.

my ($period1,$period2,$smooth)=@_;
#Validate the periods
ValidatePeriods($period1,$period2,$smooth);
#create the columns...
my $macdline = EMA(Volume,$period1)-EMA(Volume,$period2);
my $macds    = EMA($macdline,$smooth);
my $macdhist = $macdline-$macds;
#rename the columns
my $name="PVO($period1,$period2,$smooth)";
SetColumnName($macdline , "$name:line");
SetColumnName($macds    , "$name:signal");
SetColumnName($macdhist , "$name:hist");
#create the indicator with the columns
return ($macdline,$macds,$macdhist);

© 2010 seer trading systems ltd
feedback FAQ legal privacy