Hikyuu
Ema.h
浏览该文件的文档.
1 /*
2  * Ema.h
3  *
4  * Created on: 2013-4-10
5  * Author: fasiondog
6  */
7 
8 #ifndef EMA_H_
9 #define EMA_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
15 /*
16  * 指数移动平均线(Exponential Moving Average)
17  * 参数: n: 计算均值的周期窗口,必须为大于0的整数
18  * 抛弃数 = 0
19  */
20 class Ema: public IndicatorImp {
23 
24 public:
25  Ema();
26  virtual ~Ema();
27 };
28 
29 } /* namespace hku */
30 #endif /* EMA_H_ */
virtual ~Ema()
Definition: Ema.cpp:16
#define INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
Definition: IndicatorImp.h:168
指标实现类,定义新指标时,应从此类继承
Definition: IndicatorImp.h:33
Ema()
Definition: Ema.cpp:12
#define INDICATOR_IMP(classname)
Definition: IndicatorImp.h:178
Definition: Ema.h:20
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11