- 精华
- 0
- 在线时间
- 7 小时
- UID
- 250636
- 积分
- 18
- 帖子
- 10
- 阅读权限
- 10
- 注册时间
- 2017-4-28
- 最后登录
- 2021-10-17
- 精华
- 0
- UID
- 250636
- 积分
- 18
- 帖子
- 10
- 主题
- 8
- 阅读权限
- 10
- 注册时间
- 2017-4-28
- 最后登录
- 2021-10-17
|
我在15分的周期下,调取60分的 的close[2] close[1] OPEN[1] OPEN[2] 数据出错,请问版主如何解决这一问题
NumericSeries Open60;
NumericSeries Close60;
Open60 = DataConvert(Open,"min",60,"Open");
Close60 = DataConvert(Close,"min",60,"Close");
//出标识
Unplot("8",0);
Unplot("18",0);
Unplot("88",0); Unplot("89",0); Unplot("99",0); Unplot("98",0);
Unplot("66",0);
if(BarStatus==2)
{plotstring("99",Text(IntPart((Close60[2]+Open60[2])/2 ) ),Low*0.98,White);} //60分取出的数 不对
{plotstring("99",Text(IntPart(Close60[2] )) ,Low*0.98,White);} //取数 出错 |
|