8 Star 30 Fork 36

rubikplanet / ChanlunX

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ZhongShu.h 804 Bytes
一键复制 编辑 原始数据 按行查看 历史
rubikplanet 提交于 2021-10-09 22:16 . 使用std::vector
#ifndef __ZHONGSHU_H__
#define __ZHONGSHU_H__
#include <vector>
#include <algorithm>
#pragma pack(push, 1)
struct ZhongShu
{
bool bValid;
int nTop1, nTop2, nTop3, nBot1, nBot2, nBot3;
float fTop1, fTop2, fTop3, fBot1, fBot2, fBot3;
int nLines, nStart, nEnd;
float fHigh, fLow;
int nDirection;
int nTerminate;
ZhongShu();
~ZhongShu();
void Reset();
bool PushHigh(int nIndex, float fValue);
bool PushLow(int nIndex, float fValue);
};
struct Pivot
{
int s;
int e;
float zg;
float zd;
float gg;
float dd;
float direction;
bool affirm;
};
std::vector<Pivot> ZS(int nCount, std::vector<float> pIn, std::vector<float> pHigh, std::vector<float> pLow);
#pragma pack(pop)
#endif
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rubikplanet/ChanlunX.git
git@gitee.com:rubikplanet/ChanlunX.git
rubikplanet
ChanlunX
ChanlunX
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891