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

roll_volume_profile

Rolling Volume Profile


Description

This indicator is not common. Volume profile is the distribution of volume over price. It is formed tick by tick and partially forgets past values over time interval. When volume on any bar is lower than specified critical value the bar is cut.

Usage

roll_volume_profile(ticks, timeFrame, step, alpha, cut)

Arguments

ticks

read 'Ticks' section in Processor

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

Value

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.