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

cpp_Ema

C++ Exponential Moving Average class


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


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.