光标位置价格,并非同一时点
ptaclday1:100*CALLSTOCK(‘GC12’,vtclose,-1,0)*7.1-2835* CALLSTOCK(‘au12’,vtclose,-1,0) ,linethick2,colorwhite;
bulinupper:ma(ptaclday1,26)+2*std(ptaclday1,26);
bulinlower:ma(ptaclday1,26)-2*std(ptaclday1,26);
aau12:CALLSTOCK(‘GC12’,vtclose,-1,0);
cau12:CALLSTOCK(‘au12’,vtclose,-1,0);
不明白你要表达的意思,另外你代码中的品种写的不对。'' 引号是英文的不是中文随便写的。
[此贴子已经被作者于2020/5/28 9:12:18编辑过]
我在问题中添加了图片附件,意思是:指标中所写的两个品种的价格,同一时间,并不能对应起来
http://www.weistock.com/bbs/dispbbs.asp?BoardID=2&ID=31614&replyID=&skin=1
图片挂了。你重新传下。
另外
aau12:CALLSTOCK(‘GC12’,vtclose,-1,0);
cau12:CALLSTOCK(‘au12’,vtclose,-1,0);
你函数参数也是有问题的。周期类型没有-1这个选项。

此主题相关图片如下:4pbr_(7kl2b`3%3hs`jsr.png