Hikyuu
SG_Flex.h
浏览该文件的文档.
1 /*
2  * FLEX._SG.h
3  *
4  * Created on: 2015年3月21日
5  * Author: fasiondog
6  */
7 
8 #ifndef TRADE_SYS_SIGNAL_CRT_FLEX_SG_H_
9 #define TRADE_SYS_SIGNAL_CRT_FLEX_SG_H_
10 
11 
12 #include "../../../indicator/Indicator.h"
13 #include "../SignalBase.h"
14 
15 namespace hku {
16 
26 SignalPtr HKU_API SG_Flex(const Operand& op, int slow_n,
27  const string& kpart="CLOSE");
28 
29 } /* namespace hku */
30 
31 
32 
33 #endif /* TRADE_SYS_SIGNAL_CRT_FLEX_SG_H_ */
#define HKU_API
Definition: DataType.h:12
shared_ptr< SignalBase > SignalPtr
客户程序都应使用该指针类型,操作信号指示器
Definition: SignalBase.h:185
SignalPtr HKU_API SG_Flex(const Operand &op, int slow_n, const string &kpart)
自交叉单线拐点指示器。 使用自身的EMA(slow_n)作为慢线,自身作为快线,快线向上穿越慢线买入,快线向下穿...
Definition: SG_Flex.cpp:13
Hikyuu核心命名空间,包含股票数据的管理、指标实现、交易系统框架等
Definition: Block.cpp:11