Learn R Programming

QuantTools (version 0.5.7.1)

Ema: C++ Exponential Moving Average class

Description

C++ class documentation

Arguments

n

indicator period

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?

Details

R function ema.

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