下面是我的公式,请在夜盘时看看:
db:=CALLSTOCK(\'AG00\',VTCLOSE,3);
ac:=CALLSTOCK(\'AU00\',VTCLOSE,3);
cj:db-ac,colorwhite;
stickline(barslast(date<>ref(date,1))=0,ref(cj,1)*0.995,ref(cj,1)*1.005,0,coloryellow);
drawsl(islastbar,cj,0,0,2,colormagenta,1,vtdot);
ddb:=CALLSTOCK(\'AG00\',VTCLOSE,12);
adc:=CALLSTOCK(\'AU00\',VTCLOSE,12);
ccj:ddb-adc,colormagenta;