| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- //
- // ChartData.h
- // ChartView
- //
- // Created by Simon Zhou on 14-6-11.
- // Copyright (c) 2014年 muchinfo. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface ChartData : NSObject
- @property (nonatomic, strong) NSDecimalNumber *opened; //!< @brief 开盘价
- @property (nonatomic, strong) NSDecimalNumber *highest; //!< @brief 最高价
- @property (nonatomic, strong) NSDecimalNumber *lowest; //!< @brief 最低价
- @property (nonatomic, strong) NSDecimalNumber *closed; //!< @brief 收盘价
- @property (nonatomic, strong) NSDate *startTime; //!< @brief 时间
- @property (nonatomic, strong) NSDecimalNumber *totleVolume; //!< @brief 总量 8 byte
- @property (nonatomic, strong) NSDecimalNumber *totleTurnover; //!< @brief 总额 8 byte
- @property (nonatomic, assign) BOOL isSupp; //!< @brief 是否为补数据
- //平均线相关
- @property (nonatomic,strong) NSDecimalNumber *ma5;
- @property (nonatomic,strong) NSDecimalNumber *ma10;
- @property (nonatomic,strong) NSDecimalNumber *ma15;
- @property (nonatomic,strong) NSDecimalNumber *ma50;
- //MACD相关
- @property (nonatomic,strong) NSDecimalNumber *ema12;
- @property (nonatomic,strong) NSDecimalNumber *ema26;
- @property (nonatomic,strong) NSDecimalNumber *dif;
- @property (nonatomic,strong) NSDecimalNumber *dea;
- @property (nonatomic,strong) NSDecimalNumber *macd;
- //KDJ相关
- @property (nonatomic,strong) NSDecimalNumber *kt;
- @property (nonatomic,strong) NSDecimalNumber *dt;
- @property (nonatomic,strong) NSDecimalNumber *jt;
- @property (nonatomic,strong) NSDecimalNumber *rsv;
- //RSI相关
- @property (nonatomic,strong) NSDecimalNumber *rsi1;
- @property (nonatomic,strong) NSDecimalNumber *rsi2;
- @property (nonatomic,strong) NSDecimalNumber *rsi3;
- //CCI相关
- @property (nonatomic,strong) NSDecimalNumber *tp;
- @property (nonatomic,strong) NSDecimalNumber *ma;
- @property (nonatomic,strong) NSDecimalNumber *md;
- @property (nonatomic,strong) NSDecimalNumber *cci;
- //DMA相关
- @property (nonatomic,strong) NSDecimalNumber *dma;
- @property (nonatomic,strong) NSDecimalNumber *ama;
- //BIAS相关
- @property (nonatomic,strong) NSDecimalNumber *bias1;
- @property (nonatomic,strong) NSDecimalNumber *bias2;
- @property (nonatomic,strong) NSDecimalNumber *bias3;
- //PSY相关
- @property (nonatomic,strong) NSDecimalNumber *psy;
- @property (nonatomic,strong) NSDecimalNumber *psyma;
- //WR相关
- @property (nonatomic,strong) NSDecimalNumber *wr;
- //CR相关
- @property (nonatomic,strong) NSDecimalNumber *crma1;
- @property (nonatomic,strong) NSDecimalNumber *crma2;
- @property (nonatomic,strong) NSDecimalNumber *crma3;
- @property (nonatomic,strong) NSDecimalNumber *crma4;
- @property (nonatomic,strong) NSDecimalNumber *cr;
- //VOL相关
- @property (nonatomic,strong) NSDecimalNumber *vol5;
- @property (nonatomic,strong) NSDecimalNumber *vol10;
- //分时图相关
- @property (nonatomic,strong) NSDecimalNumber *tsma;
- @end
|