cpp_Ema: C++ Exponential Moving Average class

Description Arguments Details Usage Public Members and Methods See Also

Description

C++ class documentation

Arguments

n

indicator period

Details

R function ema.

Usage

Ema( int n )

Public Members and Methods

Name Return Type Description
Add( double value ) void update indicator
GetValue() double return value
Reset() void reset to initial state
IsFormed() bool is indicator value valid?
GetHistory() std::vector<double> return values history

See Also

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

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


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