30 Star 78 Fork 79

liuyinghua/FastTrader

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
OSC.h 827 Bytes
Copy Edit Raw Blame History
liuyinghua authored 2018-05-08 01:05 +08:00 . 整个项目的编译
#ifndef _TECH_OSC_H_
#define _TECH_OSC_H_
// ڶOSC
#include "TechLib.h"
#include "Technique.h"
// ײָEMV
class TECH_API COSC : public TechnicalIndicator
{
public:
// Constructors
COSC( );
COSC( KdataContainer * pKData );
virtual ~COSC();
public:
virtual void clear( );
// Attributes
int m_nDays;
int m_nMADays;
int m_itsGoldenFork;
int m_itsDeadFork;
virtual void SetDefaultParameters( );
void attach( COSC & src );
virtual bool IsValidParameters( );
// Operations
virtual int signal( size_t nIndex, uint32_t * pnCode = NULL );
virtual bool min_max_info(size_t nStart, size_t nEnd, double *pdMin, double *pdMax );
virtual bool calc( double * pValue, size_t nIndex, bool bUseLast );
virtual bool calc( double * pValue, double * pMA, size_t nIndex, bool bUseLast );
};
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/mongodb_client/FastTrader.git
[email protected]:mongodb_client/FastTrader.git
mongodb_client
FastTrader
FastTrader
master

Search