序列模式下可以這樣使用:
if 條件 then aa:=cross(ma5,ma10);
但是逐k線下不可以,需要修改成這樣
xx:=cross(ma5,ma10);
if 條件 then aa:=xx;