ZF:=5;{两线}XA_1:=120;XA_2:=MA(CLOSE,XA_1);XA_3:=POW(CLOSE-XA_2,2);XA_4:=MA(XA_3,XA_1);XA_5:=SQRT(XA_4);XA_6:=XA_2+2*XA_5;一突:REF(XA_2,1),COLORYELLOW,LINETHICK1;二突:REF(XA_6,1),COLORFF00FF,LINETHICK1;{+}C3:=REF(C,1);:=IF((C-C3)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(涨停,OPEN,CLOSE,2,0),COLORYELLOW;STICKLINE(涨停,H,L,0,0),,COLORYELLOW;:=IF((C3-C)*100/C3>=(10-0.01*100/C3),1,0);STICKLINE(跌停,OPEN,CLOSE,3,0),COLORGREEN;STICKLINE(跌停,H,L,0,1),COLORGREEN;N:=10;UP:=(C/REF(C,1)>1.05 AND NOT(C/REF(C,1)>1.095));S