- 精华
- 0
- 在线时间
- 11 小时
- UID
- 125429
- 积分
- 3
- 帖子
- 3
- 阅读权限
- 10
- 注册时间
- 2013-7-24
- 最后登录
- 2017-10-31
- 精华
- 0
- UID
- 125429
- 积分
- 3
- 帖子
- 3
- 主题
- 0
- 阅读权限
- 10
- 注册时间
- 2013-7-24
- 最后登录
- 2017-10-31
|
If(Time>0.233700)
{
High10=Highest(high,59);
Low10=Lowest(low,59);
SetGlobalVar(0,High10);
SetGlobalVar(1,Low10);
PlotNumeric("aa",high10,0,-1,0);
PlotNumeric("bb",low10,0,-1,0);
}
PlotString("H10",text(high10),h,-1,0);
PlotString("L10",text(low10),l,-1,0));
这样写盘中能取到0.233700之后的最高,最低值
If(Vol>0)
{
High10=Highest(high,59);
Low10=Lowest(low,59);
SetGlobalVar(0,High10);
SetGlobalVar(1,Low10);
PlotNumeric("aa",high10,0,-1,0);
PlotNumeric("bb",low10,0,-1,0);
}
PlotString("H10",text(high10),h,-1,0);
PlotString("L10",text(low10),l,-1,0);
这样写在盘中能取到正确值。
|
|