X_1:=VOL*100/CAPITAL;
X_2:=MA(X_1,4);
X_3:=MA(X_1,9);
X_4:=MA(X_1,17);
X_5:=MA(X_1,34);
X_6:=(X_2+X_3+X_4+X_5)/4;
X_7:=(X_2-X_6)/10;
X_8:=(X_3-X_6)/10;
X_9:=(X_4-X_6)/10;
X_10:=(X_5-X_6)/10;
0,COLORWHITE;
X_11:=3;
X_12:=BARSCOUNT(CLOSE)+1;
X_13:=MA(CLOSE,5);
X_14:=MA(CLOSE,10);
X_15:=MA(CLOSE,20);
X_16:=EMA(CLOSE,60);
X_17:=IF(X_12>100,X_16,X_15);
X_18:=(X_14-X_16)/X_16;
X_19:=CLOSE/REF(CLOSE,20)<1.2 AND X_14>REF(X_14,1) AND CLOSE<LLV(LOW,80)*1.5;
X_20:=(CLOSE-X_14)/X_14;
X_21:=(CLOSE-X_15)/X_15;
X_22:=(CLOSE-X_16)/X_16;
X_23:=0.01*AMOUNT/VOL;
X_24:=VOL/CAPITAL;
X_25:=MA(X_24,5);
X_26:=MA(X_24,20);
X_27:=EMA(X_24,60);
X_28:=CLOSE/REF(CLOSE,1)>1.06;
X_29:=CLOSE/REF(CLOSE,1)>1.099 AND CLOSE=HIGH AND LOW<CLOSE;
X_30:=CLOSE/REF(CLOSE,1)>1.099 AND LOW=HIGH;
X_31:=HIGH/REF(CLOSE,1)>1.099 OR CLOSE/REF(CLOSE,1)>1.09 AND CLOSE/REF(CLOSE,1)>1.065 AND CLOSE/REF(CLOSE,1)<1.0992 AND CLOSE>X_23;
X_32:=CLOSE/REF(CLOSE,1)>1.05 AND (X_24>REF(X_24,1) OR X_24>MAX(X_25,X_27)) AND CLOSE>X_23 AND X_20<0.12;
X_33:=X_29 OR X_31 OR X_32;
X_34:=BARSLAST(X_33);
X_35:=REF(X_23,X_34);
X_36:=REF(LOW,1)<MAX(REF(X_14,1),REF(X_15,1)) AND CLOSE>X_14;
X_37:=INDEXC;
X_38:=(INDEXC-MA(INDEXC,10))/MA(INDEXC,10);
X_39:=3*(X_20-X_38);
X_40:=X_39>0 OR (X_39>(-0.1) AND X_39>REF(X_39,1));
X_41:=SUM(X_39,10);
X_42:=10;
X_43:=3;
X_44:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_45:=X_44+X_43*STD(X_44,X_42);
X_46:=X_44-X_43*STD(X_44,X_42);
X_47:=(X_45-X_46)/10;
X_48:=X_47<0.4 AND LLV(X_47,5)<3*LLV(X_47,100) OR X_47<0.2;
X_49:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE/REF(CLOSE,1)<1.11 AND CLOSE/X_14<1.13;
X_50:=(ACTINVOL-ACTOUTVOL)/CAPITAL;
X_51:=MIN(COUNT(TRADEOUTNUM,0),30);
X_52:=X_24<MAX(X_25,X_26);
X_53:=COUNT(X_52,7)>=4;
X_54:=X_24>1.35*REF(X_24,1) AND X_24<7*REF(X_24,1) AND X_24>1.5 AND X_24>X_25 AND REF(X_53,1);
X_55:=X_36 AND X_54 AND X_49 AND X_40 AND X_48;
X_56:=0.6*(X_14>X_15 OR X_14>REF(X_14,1) OR X_23>X_14 AND X_39>(-0.02));
X_57:=0.5*(COUNT(X_28,60)>=6 OR COUNT(X_29,60)>=2 OR COUNT(X_29 OR X_32,30)>=1 OR COUNT(X_39>0.1,120)>20);
X_58:=0.2*(X_24>MAX(X_27,X_25) OR X_25>X_27 OR X_29 OR (EXIST(X_29 OR X_32,3) AND X_24>MIN(X_27,X_25)) AND (CLOSE>X_14 OR X_39>0 OR (X_25>=REF(X_25,1) AND CLOSE>REF(CLOSE,1))));
X_59:=0.5*(X_58 OR X_56 AND X_57);
X_60:=X_29 OR X_32 AND X_59 AND X_39>0 AND X_18<0.23 AND X_22<0.25 AND X_19;
X_61:=BARSLAST(X_60);
活跃区间:X_59 AND EVERY(X_59,X_61+1),COLORRED;
X_62:=COUNT(X_60,0);
X_63:=X_60 AND 活跃区间 AND COUNT(X_60,0)=1;
X_64:=X_60 AND 活跃区间 AND REF(活跃区间!=1,1) AND COUNT(X_60,0)>1;
X_65:=X_60 AND 活跃区间 AND REF(X_59=0,1) AND COUNT(X_60,0)<=1;
启动:IF(COUNT(X_60,0)>1,X_64,X_63 OR (X_65 AND X_19)),LINETHICK0;
X_66:=BARSLAST(X_64);
X_67:=REF(X_23,X_66);
X_68:=REF(OPEN,X_66);
X_69:=REF(LOW,X_66);
X_70:=REF(X_14,X_66);
X_71:=X_67*0.95;
X_72:=IF(X_68<X_67*0.98,MAX(X_69,X_71),X_71);
X_73:=0.2*(HHV(CLOSE,5)/CLOSE>1.06 AND HHV(X_20,6)>0.08 AND CLOSE>0.95*X_14 AND CLOSE<1.09*X_14 AND LOW/X_14<1.01 AND 活跃区间);
关注区间:0.6*(活跃区间 AND (CLOSE>=X_72 OR CLOSE>X_14) AND X_66<=6 AND X_66>0),LINETHICK0;
X_74:=0.3*(X_58 AND X_39>0);
X_75:=FILTER(0.6*(活跃区间 AND (CLOSE>=X_72 OR CLOSE>X_14) AND X_66<=6 AND X_66>0),6);
X_76:=10;
X_77:=MA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19);
X_78:=(-100)*(HHV(HIGH,14)-CLOSE)/(HHV(HIGH,14)-LLV(LOW,14));
X_79:=EMA((-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
X_80:=X_77+100;
X_81:=X_78+100;
X_82:=X_79+100;
X_83:=REF(X_82,1)>85 AND REF(X_81,1)>85 AND REF(X_80,1)>65 AND CROSS(X_80,X_81);
X_84:=X_82<REF(X_82,1) AND REF(X_82,1)>80 AND (REF(X_81,1)>95 OR REF(X_81,2)>95) AND X_80>60 AND X_81<83.5 AND X_81<X_82 AND X_81<X_80+4;
X_85:=FILTER(X_84,4);
X_86:=X_80<12 AND X_82<8 AND (X_81<7.2 OR REF(X_81,1)<5) AND (X_82>REF(X_82,1) OR X_81>REF(X_81,1)) OR (X_80<8 AND X_82<7 AND X_81<15 AND X_81>REF(X_81,1)) OR (X_80<10 AND X_82<7 AND X_81<1);
X_87:=50*(X_80<15 AND REF(X_80,1)<15 AND X_82<18 AND X_81>REF(X_81,1) AND CROSS(X_81,X_80) AND X_81>X_82 AND (REF(X_81,1)<5 OR REF(X_81,2)<5) AND (X_82>=X_80 OR REF(X_81,1)<1));
X_88:=X_82-X_81>40;
X_89:=FILTER(X_81-LLV(X_81,3)>20,3);
蹦极:(BARSLAST(X_88)<=3 AND X_81-LLV(X_81,3)>20 AND (CLOSE>MA(CLOSE,20) OR MA(CLOSE,20)>REF(MA(CLOSE,20),1)) AND X_89)*2,COLORLIMAGENTA,LINETHICK0;
伏击牛:蹦极 AND 启动 AND X_7>=X_10,COLORCYAN,LINETHICK0;
STICKLINE(启动,0,2,2,0),COLORYELLOW;
STICKLINE(关注区间>0,0,2,2,0),COLORLIRED;
STICKLINE(蹦极,0,2,2,0),COLORLIMAGENTA;
STICKLINE(伏击牛,0,1,2,0),COLORCYAN;