X_13:=IF(CLOSE OPEN,IF(X_10=0,LOW,X_12),IF(X_10=0,HIGH,X_11));
X_14:=2/1000;
X_15:=CURRBARSCOUNT;
X_16:=120;
X_17:=X_15 =X_16;
X_18:=LOW;
X_19:=IF(X_9=0,X_18,REF(X_9,X_9));
基准价:IF(X_17,CONST(X_19),DRAWNULL),DOTLINE,COLORRED;
X_20:=基准价;
X_21:=X_20*X_14;
X_22:=ABS(LOW-X_20) =X_21;
X_23:=ABS(OPEN-X_20) =X_21;
X_24:=ABS(CLOSE-X_20) =X_21;
X_25:=ABS(HIGH-X_20) =X_21;
X_26:=X_22 OR X_23 OR X_24 OR X_25 AND X_17 AND X_15!=1;
X_27:=COUNT(X_26,X_16);
精准点个数:IF(X_27 0,X_27+1,0),NODRAW,COLORRED;
X_28:=AMOUNT/VOL/100;
X_29:=CLOSE OPEN AND REF(CLOSE,1) X_28 AND CLOSE X_28 AND CLOSE
STICKLINE(X_29,OPEN,CLOSE,1,0),COLORLICYAN;
X_30:=OPEN CLOSE AND CLOSE X_28 AND X_28 REF(CLOSE,1);
STICKLINE(X_30,OPEN,CLOSE,1,0),COLORRED;
X_31:=VOL REF(VOL,1)*0.95 AND VOL REF(VOL,1)*1.05;
X_32:=WINNER(CLOSE)-WINNER(OPEN) =0.2 AND X_31;
STICKLINE(X_32,OPEN,CLOSE,1,0),COLORBLUE;
X_33:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100;
X_34:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_33 =4.945;
X_35:=NAMELIKE(1) OR NAMELIKE(2) OR NAMELIKE(3) AND X_33 =(-4.945);
涨停价:IF(X_34,REF(CLOSE,1)*1.05,REF(CLOSE,1)*1.1),NODRAW,COLORRED;
跌停价:IF(X_35,REF(CLOSE,1)*0.95,REF(CLOSE,1)*0.9),NODRAW,COLORGREEN;
X_36:=REF(CLOSE,1);
X_37:=CLOSE=ZTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_37,OPEN,CLOSE,2,0),COLORMAGENTA;
STICKLINE(X_37,OPEN,CLOSE,1,0),COLORMAGENTA;
X_38:=CLOSE=DTPRICE(REF(CLOSE,1),0.1);
STICKLINE(X_38,OPEN,CLOSE,2,0),COLORGREEN;
STICKLINE(X_38,HIGH,LOW,0,1),COLORGREEN;
X_39:=HHV(VOL,10);
X_40:=BARSLAST(X_39=VOL);
当前高量顶价:DRAWLINE(X_40=0 AND X_40 =10,MIN(CLOSE,OPEN),REF(X_40=0,1),REF(MIN(CLOSE,OPEN),1),1),COLORMAGENTA;
当前高量底价价:DRAWLINE(X_40=0 AND X_40 =10,MAX(CLOSE,OPEN),REF(X_40=0,1),REF(MAX(CLOSE,OPEN),1),1),COLORBROWN;
X_41:=OPEN-(OPEN-CLOSE)/3;
X_42:=(OPEN+CLOSE)/2;
X_43:=OPEN-2*(OPEN-CLOSE)/3;
STICKLINE((OPEN+CLOSE)/2 AND CLOSE/REF(CLOSE,1) =1.035 OR REF(CLOSE,1)/CLOSE =1.035,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,3,0),COLORBLUE;
流通市值: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;
X_44:=HHV(VOL,10);
X_45:=BARSLAST(X_44=VOL);
X_46:=CROSS(REF(MAX(CLOSE,OPEN),X_45),CLOSE);
STICKLINE(X_46,MAX(CLOSE,OPEN)*1.02,MIN(CLOSE,OPEN)*0.98,0,1),COLORRED;
STICKLINE(X_46,(OPEN+CLOSE)/2,(OPEN+CLOSE)/2,10,0),COLORRED;
DRAWICON(OPEN REF(MAX(CLOSE,OPEN),1) AND CLOSE OPEN AND CLOSE REF(CLOSE,1) AND CLOSE MA(CLOSE,5),LOW*0.97,11);
X_47:=CLOSE REF(CLOSE,4) AND REF(CLOSE,1) REF(CLOSE,5);
X_48:=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);
X_49:=CLOSE REF(CLOSE,4) AND REF(CLOSE,1) REF(CLOSE,5) AND REF(CLOSE,2) REF(CLOSE,6);
X_50:=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);
X_51:=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);
X_52:=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);
X_53:=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);
X_54:=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);
X_55:=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);
X_56:=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;
X_57:=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);
X_58:=REFX(CLOSE,1) REF(CLOSE,3) AND REFX(CLOSE,2) REF(CLOSE,2) AND REFX(CLOSE,3) REF(CLOSE,1);
X_59:=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);
X_60:=REFX(CLOSE,1) REF(CLOSE,3) AND REFX(CLOSE,2) REF(CLOSE,2);
X_61:=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);
X_62:=REFX(CLOSE,1) REF(CLOSE,3);
X_63:=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);
X_64:=IF(PERIOD 4,LOW*(1-(PERIOD+1)/10*0.01),LOW*0.98);
X_65:=IF(PERIOD 4,HIGH*(1+(PERIOD+1)/10*0.01),HIGH*1.05);
X_66:=CURRBARSCOUNT-1;
DRAWNUMBER(X_47 AND (X_48 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60) OR (X_66=3 AND X_58) OR (X_66=4 AND X_56) OR (X_66=5 AND X_54) OR (X_66=6 AND X_52) OR (X_66=7 AND X_50)),X_64,1),COLORMAGENTA;
DRAWNUMBER(X_49 AND (X_50 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60) OR (X_66=3 AND X_58) OR (X_66=4 AND X_56) OR (X_66=5 AND X_54) OR (X_66=6 AND X_52)),X_64,2),COLORMAGENTA;
DRAWNUMBER(X_51 AND (X_52 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60) OR (X_66=3 AND X_58) OR (X_66=4 AND X_56) OR (X_66=5 AND X_54)),X_64,3),COLORMAGENTA;
DRAWNUMBER(X_53 AND (X_54 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60) OR (X_66=3 AND X_58) OR (X_66=4 AND X_56)),X_64,4),COLORMAGENTA;
DRAWNUMBER(X_55 AND (X_56 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60) OR (X_66=3 AND X_58)),X_64,5),COLORMAGENTA;
DRAWNUMBER(X_57 AND (X_58 OR X_66=0 OR (X_66=1 AND X_62) OR (X_66=2 AND X_60)),X_64,6),COLORMAGENTA;
DRAWNUMBER(X_59 AND (X_60 OR X_66=0 OR (X_66=1 AND X_62)),X_64,7),COLORMAGENTA;
DRAWNUMBER(X_61 AND (X_62 OR X_66 1),X_64,8),COLORMAGENTA;
DRAWNUMBER(X_63,X_64,9),COLORGREEN;
X_67:=CLOSE REF(CLOSE,4) AND REF(CLOSE,1) REF(CLOSE,5);
X_68:=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);
X_69:=CLOSE REF(CLOSE,4) AND REF(CLOSE,1) REF(CLOSE,5) AND REF(CLOSE,2) REF(CLOSE,6);
X_70:=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);
X_71:=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);
X_72:=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);
X_73:=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);
X_74:=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);
X_75:=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);
X_76:=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;
X_77:=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);
X_78:=REFX(CLOSE,1) REF(CLOSE,3) AND REFX(CLOSE,2) REF(CLOSE,2) AND REFX(CLOSE,3) REF(CLOSE,1);
X_79:=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);
X_80:=REFX(CLOSE,1) REF(CLOSE,3) AND REFX(CLOSE,2) REF(CLOSE,2);
X_81:=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);
X_82:=REFX(CLOSE,1) REF(CLOSE,3);
X_83:=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);
DRAWNUMBER(X_67 AND (X_68 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80) OR (X_66=3 AND X_78) OR (X_66=4 AND X_76) OR (X_66=5 AND X_74) OR (X_66=6 AND X_72) OR (X_66=7 AND X_70)),X_65,1),COLORMAGENTA;
DRAWNUMBER(X_69 AND (X_70 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80) OR (X_66=3 AND X_78) OR (X_66=4 AND X_76) OR (X_66=5 AND X_74) OR (X_66=6 AND X_72)),X_65,2),COLORMAGENTA;
DRAWNUMBER(X_71 AND (X_72 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80) OR (X_66=3 AND X_78) OR (X_66=4 AND X_76) OR (X_66=5 AND X_74)),X_65,3),COLORMAGENTA;
DRAWNUMBER(X_73 AND (X_74 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80) OR (X_66=3 AND X_78) OR (X_66=4 AND X_76)),X_65,4),COLORMAGENTA;
DRAWNUMBER(X_75 AND (X_76 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80) OR (X_66=3 AND X_78)),X_65,5),COLORMAGENTA;
DRAWNUMBER(X_77 AND (X_78 OR X_66=0 OR (X_66=1 AND X_82) OR (X_66=2 AND X_80)),X_65,6),COLORMAGENTA;
DRAWNUMBER(X_79 AND (X_80 OR X_66=0 OR (X_66=1 AND X_82)),X_65,7),COLORMAGENTA;
DRAWNUMBER(X_81 AND (X_82 OR X_66 1),X_65,8),COLORMAGENTA;
DRAWNUMBER(X_83,X_65,9),COLORGREEN;