X_1:=MA(CLOSE,5);
X_2:=MA(CLOSE,10);
X_3:=MA(CLOSE,20);
X_4:=EMA(CLOSE,60);
X_5:=IF(BARSCOUNT(CLOSE)+1>100,X_4,X_3);
X_6:=(X_2-X_4)/X_4;
X_7:=CLOSE/REF(CLOSE,20)<1.2 AND X_2>REF(X_2,1) AND CLOSE
X_9:=(CLOSE-X_3)/X_3;
X_10:=(CLOSE-X_4)/X_4;
X_11:=0.01*AMOUNT/vol;
X_12:=VOL/CAPITAL;
X_13:=MA(X_12,5);
X_14:=MA(X_12,20);
X_15:=EMA(X_12,60);
X_16:=CLOSE/REF(CLOSE,1)>1.099 AND CLOSE=HIGH AND LOW
X_18:=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_11;
X_19:=CLOSE/REF(CLOSE,1)>1.05 AND (X_12>REF(X_12,1) OR X_12>MAX(X_13,X_15)) AND CLOSE>X_11 AND X_8<0.12;
X_20:=X_16 OR X_18 OR X_19;
X_21:=BArslAST(X_20);
X_22:=REF(X_11,X_21);
X_23:=REF(LOW,1)
X_24:=INDEXC;
X_25:=(INDEXC-MA(INDEXC,10))/MA(INDEXC,10);
X_26:=3*(X_8-X_25);
X_27:=X_26>0 OR (X_26>(-0.1) AND X_26>REF(X_26,1));
X_28:=SUM(X_26,10);
X_29:=10;
X_30:=3;
X_31:=(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4;
X_32:=X_31+X_30*STD(X_31,X_29);
X_33:=X_31-X_30*STD(X_31,X_29);
X_34:=(X_32-X_33)/10;
X_35:=X_34<0.4 AND LLV(X_34,5)<3*LLV(X_34,100) OR X_34<0.2;
X_36:=CLOSE/REF(CLOSE,1)>1.03 AND CLOSE/REF(CLOSE,1)<1.11 AND CLOSE/X_2<1.13;
X_37:=X_12
X_39:=X_12>1.35*REF(X_12,1) AND X_12<7*REF(X_12,1) AND X_12>1.5 AND X_12>X_13 AND REF(X_38,1);
X_40:=X_23 AND X_39 AND X_36 AND X_27 AND X_35;
X_41:=0.6*(X_2>X_3 OR X_2>REF(X_2,1) OR X_11>X_2 AND X_26>(-0.02));
X_42:=0.5*(COUNT(CLOSE/REF(CLOSE,1)>1.06,60)>=6 OR COUNT(X_16,60)>=2 OR COUNT(X_16 OR X_19,30)>=1 OR COUNT(X_26>0.1,120)>20);
X_43:=0.2*(X_12>MAX(X_15,X_13) OR X_13>X_15 OR X_16) OR X_16 OR X_19 AND (X_12>MIN(X_15,X_13) AND CLOSE>X_2 OR X_26>0) OR X_13>=REF(X_13,1) AND CLOSE>REF(CLOSE,1);
X_44:=0.5*(X_43 OR X_41 AND X_42);
X_45:=X_16 OR X_19 AND X_44 AND X_26>0 AND X_6<0.23 AND X_10<0.25 AND X_7;
X_46:=BARSLAST(X_45);
活跃区间:X_44 AND EVERY(X_44,X_46+1),COLORRED;
X_47:=COUNT(X_45,0);
X_48:=X_45 AND 活跃区间 AND COUNT(X_45,0)=1;
X_49:=X_45 AND 活跃区间 AND REF(活跃区间!=1,1) AND COUNT(X_45,0)>1;
X_50:=X_45 AND 活跃区间 AND REF(X_44=0,1) AND COUNT(X_45,0)<=1;
启动:IF(COUNT(X_45,0)>1,X_49,X_48 OR (X_50 AND X_7)),LINETHICK0;
X_51:=BARSLAST(X_49);
X_52:=REF(X_11,X_51);
X_53:=REF(OPEN,X_51);
X_54:=REF(LOW,X_51);
X_55:=REF(X_2,X_51);
X_56:=X_52*0.95;
X_57:=IF(X_53
关注区间:0.6*(活跃区间 AND (CLOSE>=X_57 OR CLOSE>X_2) AND X_51<=6 AND X_51>0),LINETHICK0;
X_59:=0.3*(X_43 AND X_26>0);
X_60:=FILTER(0.6*(活跃区间 AND (CLOSE>=X_57 OR CLOSE>X_2) AND X_51<=6 AND X_51>0),6);
STICKLINE(启动,0,2,2,0),COLORYELLOW;
STICKLINE(关注区间>0,0,2,2,0),COLOR9B85E5;