Learn R Programming

QuantTools (version 0.5.7.1)

RollVolumeProfile: C++ Rolling Volume Profile class

Description

C++ class documentation

Arguments

timeFrame

indicator period in seconds, when to apply alpha correction

step

price round off value, bar width

alpha

multiplication coefficient must be between (0,1]

cut

threshold volume when to delete bar

Usage

RollVolumeProfile( int timeFrame, double step, double alpha, double cut )

Public Members and Methods

Name Return Type Description
Add( Tick tick ) void update indicator
Reset() void reset to initial state
IsFormed() bool is indicator value valid?
GetValue() std::map<double,double> histogram where first is price and second is volume

Details

R functions roll_volume_profile.

See Also

Other C++ indicators: BBands, Crossover, Ema, Indicator, RollLinReg, RollPercentRank, RollRange, RollSd, Rsi, Sma, Stochastic

Other C++ classes: BBands, Candle, Cost, Crossover, Ema, Indicator, Order, Processor, RollLinReg, RollPercentRank, RollRange, RollSd, Rsi, Sma, Stochastic, Tick