Hikyuu
MA.h
浏览该文件的文档.
1 /*
2  * MA.h
3  *
4  * Created on: 2013-2-14
5  * Author: fasiondog
6  */
7 
8 #ifndef MA_H_
9 #define MA_H_
10 
11 #include "../Indicator.h"
12 
13 namespace hku {
14 
22 Indicator HKU_API MA(const Indicator& data, int n = 22,
23  const string& type = "SMA");
24 
25 Indicator HKU_API MA(int n = 22, const string& type = "SMA");
26 
27 } /* namespace */
28 
29 
30 #endif /* MA_H_ */
#define HKU_API
Definition: DataType.h:12
class HKU_API Indicator
Definition: IndicatorImp.h:27
Indicator HKU_API MA(const Indicator &data, int n, const string &type)
移动平均
Definition: MA.cpp:16
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11