流通市值:FINANCE(40)/100000000,NODRAW;
MA5角度:ATAN((MA(CLOSE,5)/REF(MA(CLOSE,5),1)-1)*100)*180/3.142,NODRAW,COLORRED;
循环年位置:(CLOSE-LLV(CLOSE,225))/(HHV(CLOSE,225)-LLV(CLOSE,225))*100,NODRAW,COLORGREEN;
XA_1:=AMOUNT/VOL/100;
XA_2:=CLOSE>OPEN AND REF(CLOSE,1)>XA_1 AND CLOSE>XA_1 AND CLOSE<300;
STICKLINE(XA_2,OPEN,CLOSE,1,0),COLORLICYAN;
XA_3:=OPEN>CLOSE AND CLOSE<XA_1 AND XA_1>REF(CLOSE,1);
STICKLINE(XA_3,OPEN,CLOSE,1,0),COLORRED;
XA_4:=VOL>REF(VOL,1)*0.95 AND VOL<REF(VOL,1)*1.05;
XA_5:=WINNER(CLOSE)-WINNER(OPEN)>=0.2 AND XA_4;
STICKLINE(XA_5,OPEN,CLOSE,1,0),COLORBLUE;
XA_6:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
XA_7:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_6>=4.945;
XA_8:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND XA_6<=(-4.945);
涨停价:IF(XA_7,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(XA_8,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
XA_9:=REF(CLOSE,1);
XA_10:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(XA_10,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(XA_10,OPEN,CLOSE,1,0),COLORMAGENTA;
XA_11:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(XA_11,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(XA_11,HIGH,LOW,0,1),COLORGREEN;
XA_12:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5);
XA_13:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3) AND REFX(CLOSE,8)<REFX(CLOSE,4);
XA_14:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6);
XA_15:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2) AND REFX(CLOSE,7)<REFX(CLOSE,3);
XA_16:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7);
XA_17:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1) AND REFX(CLOSE,6)<REFX(CLOSE,2);
XA_18:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8);
XA_19:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE AND REFX(CLOSE,5)<REFX(CLOSE,1);
XA_20:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9);
XA_21:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1) AND REFX(CLOSE,4)<CLOSE;
XA_22:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)>REF(CLOSE,10);
XA_23:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2) AND REFX(CLOSE,3)<REF(CLOSE,1);
XA_24:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)>REF(CLOSE,11);
XA_25:=REFX(CLOSE,1)<REF(CLOSE,3) AND REFX(CLOSE,2)<REF(CLOSE,2);
XA_26:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)>REF(CLOSE,12);
XA_27:=REFX(CLOSE,1)<REF(CLOSE,3);
XA_28:=CLOSE<REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10) AND REF(CLOSE,7)<REF(CLOSE,11) AND REF(CLOSE,8)<REF(CLOSE,12) AND REF(CLOSE,9)>REF(CLOSE,13);
XA_29:=IF(PERIOD<4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
XA_30:=IF(PERIOD<4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
XA_31:=CURRBARSCOUNT-1;
DRAWNUMBER(XA_12 AND (XA_13 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25) OR (XA_31=3 AND XA_23) OR (XA_31=4 AND XA_21) OR (XA_31=5 AND XA_19) OR (XA_31=6 AND XA_17) OR (XA_31=7 AND XA_15)),XA_29,1),COLORMAGENTA;
DRAWNUMBER(XA_14 AND (XA_15 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25) OR (XA_31=3 AND XA_23) OR (XA_31=4 AND XA_21) OR (XA_31=5 AND XA_19) OR (XA_31=6 AND XA_17)),XA_29,2),COLORMAGENTA;
DRAWNUMBER(XA_16 AND (XA_17 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25) OR (XA_31=3 AND XA_23) OR (XA_31=4 AND XA_21) OR (XA_31=5 AND XA_19)),XA_29,3),COLORMAGENTA;
DRAWNUMBER(XA_18 AND (XA_19 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25) OR (XA_31=3 AND XA_23) OR (XA_31=4 AND XA_21)),XA_29,4),COLORMAGENTA;
DRAWNUMBER(XA_20 AND (XA_21 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25) OR (XA_31=3 AND XA_23)),XA_29,5),COLORMAGENTA;
DRAWNUMBER(XA_22 AND (XA_23 OR XA_31=0 OR (XA_31=1 AND XA_27) OR (XA_31=2 AND XA_25)),XA_29,6),COLORMAGENTA;
DRAWNUMBER(XA_24 AND (XA_25 OR XA_31=0 OR (XA_31=1 AND XA_27)),XA_29,7),COLORMAGENTA;
DRAWNUMBER(XA_26 AND (XA_27 OR XA_31<1),XA_29,8),COLORMAGENTA;
DRAWNUMBER(XA_28,XA_29,9),COLORGREEN;
XA_32:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)<REF(CLOSE,5);
XA_33:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3) AND REFX(CLOSE,8)>REFX(CLOSE,4);
XA_34:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)<REF(CLOSE,6);
XA_35:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2) AND REFX(CLOSE,7)>REFX(CLOSE,3);
XA_36:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)<REF(CLOSE,7);
XA_37:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1) AND REFX(CLOSE,6)>REFX(CLOSE,2);
XA_38:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)<REF(CLOSE,8);
XA_39:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE AND REFX(CLOSE,5)>REFX(CLOSE,1);
XA_40:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)<REF(CLOSE,9);
XA_41:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1) AND REFX(CLOSE,4)>CLOSE;
XA_42:=CLOSE>REF(CLOSE,4) AND REF(CLOSE,1)>REF(CLOSE,5) AND REF(CLOSE,2)>REF(CLOSE,6) AND REF(CLOSE,3)>REF(CLOSE,7) AND REF(CLOSE,4)>REF(CLOSE,8) AND REF(CLOSE,5)>REF(CLOSE,9) AND REF(CLOSE,6)<REF(CLOSE,10);
XA_43:=REFX(CLOSE,1)>REF(CLOSE,3) AND REFX(CLOSE,2)>REF(CLOSE,2) AND REFX(CLOSE,3)>REF(CLOSE,1);
XA_44
|