30 Star 78 Fork 79

liuyinghua/FastTrader

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
PCNT.h 714 Bytes
一键复制 编辑 原始数据 按行查看 历史
liuyinghua 提交于 2018-05-08 01:05 +08:00 . 整个项目的编译
#pragma once
#include "Technique.h"
// ȱPCNT
class CPCNT : public TechnicalIndicator
{
public:
// Constructors
CPCNT( );
CPCNT( KdataContainer * pKData );
virtual ~CPCNT();
public:
virtual void clear( );
// Attributes
int m_nMADays;
int m_itsGoldenFork;
int m_itsDeadFork;
virtual void SetDefaultParameters( );
void AttachParameters( CPCNT & src );
virtual bool IsValidParameters( );
// Operations
virtual int signal( int nIndex, UINT * pnCode = NULL );
virtual bool min_max_info(int nStart, int nEnd, double *pdMin, double *pdMax );
virtual bool calc( double * pValue, int nIndex, bool bUseLast );
virtual bool calc( double * pValue, double * pMA, int nIndex, bool bUseLast );
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/mongodb_client/FastTrader.git
[email protected]:mongodb_client/FastTrader.git
mongodb_client
FastTrader
FastTrader
master

搜索帮助