Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cpp_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

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


QuantTools

Enhanced Quantitative Trading Modelling

v0.5.7.1
GPL-3
Authors
Stanislav Kovalevsky
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.