X_1:=IF(DATE<1151219 AND DATE>900101,1,0);
X_2:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4*X_1;
X_3:=X_2+P*STD(X_2,N)*X_1;
X_4:=X_2-P*STD(X_2,N)*X_1;
GX买:DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1))*X_1 AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))*X_1 AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3))*X_1,LOW*0.98,1)*X_1;