cpp_RollVolumeProfile: C++ Rolling Volume Profile class

Description Arguments Details Usage Public Members and Methods See Also

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

Details

R functions roll_volume_profile.

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
GetHistory() List return values history data.table with columns time, profile where profile is data.table with columns time, price, volume

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


QuantTools documentation built on Oct. 23, 2020, 7:54 p.m.