mirror of
https://gitee.com/fasiondog/hikyuu.git
synced 2024-12-04 21:07:57 +08:00
31 lines
515 B
C++
31 lines
515 B
C++
/*
|
|
* IEvery.h
|
|
*
|
|
* Copyright (c) 2019 hikyuu.org
|
|
*
|
|
* Created on: 2019-4-28
|
|
* Author: fasiondog
|
|
*/
|
|
|
|
#ifndef INDICATOR_IMP_IEVERY_H_
|
|
#define INDICATOR_IMP_IEVERY_H_
|
|
|
|
#include "../Indicator.h"
|
|
|
|
namespace hku {
|
|
|
|
/*
|
|
* 一直存在, EVERY (X,N) 表示条件X在N周期一直存在
|
|
*/
|
|
class IEvery: public IndicatorImp {
|
|
INDICATOR_IMP(IEvery)
|
|
INDICATOR_IMP_NO_PRIVATE_MEMBER_SERIALIZATION
|
|
|
|
public:
|
|
IEvery();
|
|
virtual ~IEvery();
|
|
};
|
|
|
|
} /* namespace hku */
|
|
#endif /* INDICATOR_IMP_IEVERY_H_ */
|