20,COLORLIGRAY,DOTLINE;50,COLORLIGRAY,DOTLINE;100,COLORLIGRAY,DOTLINE;
X_2:=EMA(X_1,9/4);
X_3:=EMA(CLOSE,6)-EMA(CLOSE,80);
X_4:=EMA(X_3,40);
X_5:=MACD.DIF#WEEK;
X_6:=MACD.DEA#WEEK;
X_7:=MACD.DIF#MONTH;
X_8:=MACD.DEA#MONTH;
X_9:=(CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72));
X_10:=SMA(X_9,3,1);
X_11:=SMA(X_10,3,1);
X_12:=(CLOSE-LLV(LOW,89))/(HHV(HIGH,89)-LLV(LOW,89));
X_13:=SMA(X_12,3,1);
X_14:=SMA(X_13,3,1);
X_15:=3*X_13-2*X_14;
X_16:=KDJ.K#WEEK;
X_17:=KDJ.D#WEEK;
X_18:=KDJ.K#MONTH;
X_19:=KDJ.D#MONTH;
X_20:=REF(HIGH,1)=HHV(HIGH,10);
X_21:=CROSS(X_20,0.9);
X_22:=REF(LOW,1)=LLV(LOW,10);
X_23:=CROSS(X_22,0.9);
X_24:=REF(HIGH,BARSLAST(X_21));
X_25:=REF(LOW,BARSLAST(X_23));
X_26:=(CLOSE+HIGH+LOW)/3;
X_27:=EMA(X_26,10);
X_28:=REF(X_27,1);
X_29:=MA(CLOSE,5);
X_30:=MA(CLOSE,10);
X_31:=MA(CLOSE,20);
X_32:=MA(CLOSE,60);
X_33:=MA(CLOSE,120);
X_34:=MA(CLOSE,250);
X_35:=EMA(CLOSE,500);
X_36:=X_1>=X_2 AND X_3>=X_4 AND X_5>=X_6 AND X_7>=X_8 AND X_10>=X_11 AND X_13>=X_14 AND X_16>=X_17 AND X_18>=X_19 AND CLOSE>REF(CLOSE,1)*1.05;
X_37:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),10);
X_38:=HIGH-REF(HIGH,1);
X_39:=REF(LOW,1)-LOW;
X_40:=SUM(IF(X_38>0 AND X_38>X_39,X_38,0),20);
X_41:=SUM(IF(X_39>0 AND X_39>X_38,X_39,0),20);
X_42:=LLV(LOW,240);
X_43:=HHV(HIGH,240);
X_44:=X_40/X_37/2*100;
DH:=(CLOSE-X_42)/X_42*100,COLORYELLOW,LINETHICK2;
X_45:=X_41/X_37/2*100;
X_46:=(X_43-CLOSE)/CLOSE*100;
主力出现:IF(DH>30 AND DH>X_45 AND DH>X_46,DH,DRAWNULL),COLORRED,LINETHICK2;
STICKLINE(主力出现>0,0,主力出现,1,0),COLORYELLOW;