MID: = MA(CLOSE,26);
UPPER:=MID + 2*STD(CLOSE,26);
LOWER:=MID - 2*STD(CLOSE,26);
买入:=REF(CROSS(C,LOWER),1);//
卖出:=REF(CROSS(UPPER,C),1);//
DRAWICON(买入,LOW-20*MINDIFF,4);
DRAWICON(卖出,HIGH+20*MINDIFF,5);
highprice3:=hhv(HIGH,5);//
lowPrice3:=llv(LOW,5);//
IF 买入 then begin//
sarx1:=lowPrice3;
END
IF 卖出 then begin//
sarx1:=highprice3;
END
So1:sarx1,colorred;//
请老师查一下,So1取不到值,问题出在哪