关于GVSET与GVGET全局变量进行跨周期调用的问题。
相关代码:GVSET
[code]
value1 = GVGetNamedInt("o5",open);
value2 = GVSetNamedInt("h5",high);
value3 = GVSetNamedInt("l5",low);
value4 = GVSetNamedInt("c5",close);
plot1(open,"open",yellow);
plot2(high,"high",green);
plot3(low,"low",red);
plot4(close,"close",blue);
[/code]
GVGET
[code]
plot1(GVGetNamedInt("o5",value1),"O5",yellow);
plot2(GVGetNamedInt("h5",value2),"h5",green);
plot3(GVGetNamedInt("l5",value3),"l5",red);
plot4(GVGetNamedInt("c5",value4),"c5",blue);
[/code] 现在出现的问题是调用时出现数据不能同步。不知道为什么下面一分钟的图,开盘价老是调用不过来。
[attach]7575[/attach] 而且均线也出现问题, 实时匹配问题,
页:
[1]