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