Learn R Programming

QuantTools (version 0.5.2)

RollRange: c++ Rolling Range / Quantile class

Description

c++ class documentation

Arguments

n
indicator period
p
probability value [0, 1]

Usage

RollRange( int n, double p = 0.5 )

Public Members and Methods

Name
Return Type Description
Add( InputType value ) void
update indicator Reset()
void reset to initial state
IsFormed() bool
is indicator value valid? GetValue()
Range has members double min, max, quantile
GetMinHistory() std::vector< double >
return min history GetMaxHistory()
std::vector< double > return max history
GetQuantileHistory() std::vector< double >
return quantile history

Details

R functions roll_range, roll_quantile, roll_min, roll_max.

See Also

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

Other c++ indicators: BBands, Crossover, Ema, Indicator, RollLinReg, RollPercentRank, RollSd, RollVolumeProfile, Rsi, Sma, Stochastic