DRAWGBK(1,RGB(1,1,1),RGB(1,1,1),0,1,0);
DRAWBAND(20,RGB(60,20,45),0,RGB(0,0,0));
X_1:=EMA(WINNER(CLOSE)*70,3);
X_2:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
X_3:=X_1/(X_1+X_2)*100;
X_4:=IF(X_3<(-6),(-6),IF(X_3>100,100+SQRT(X_3-100),X_3));
X_5:=MA(X_1+X_2,13);
X_6:=X_2/(X_1+X_2)*100;
X_7:=EMA(X_6,89);
主力警戒:EMA(X_4,89),COLORYELLOW,LINETHICK4;
STICKLINE(X_4>REF(X_4,1) AND X_4>20,X_4,20,2,0),COLOR880099;
STICKLINE(X_4<=REF(X_4,1) AND X_4>20,X_4,20,2,0),COLORCC7700;
STICKLINE(X_4>REF(X_4,1) AND X_4<20,X_4,0,2,0),COLOR131FFD;
STICKLINE(X_4<=REF(X_4,1) AND X_4<20,X_4,0,2,0),COLOR990000;
STICKLINE(X_4>20,20,X_4,0,0),COLORAAAAAA;
STICKLINE(主力警戒>REF(主力警戒,1),X_4,主力警戒,2,0),COLOR0055DD;
STICKLINE(主力警戒>REF(主力警戒,1),X_4,主力警戒,0.3,0),COLOR00AADD;
STICKLINE(X_4>主力警戒 AND 主力警戒>50,X_4,主力警戒,2,0),COLOR0000AA;
STICKLINE(X_4>主力警戒 AND 主力警戒>50,X_4,主力警戒,0.3,0),COLOR0055FF;
STICKLINE(X_4>主力警戒 AND 主力警戒<50 AND X_4>50 AND 主力警戒>REF(主力警戒,1),X_4,50,2,0),COLOR0000AA;
STICKLINE(X_4>主力警戒 AND 主力警戒<50 AND X_4>50 AND 主力警戒>REF(主力警戒,1),X_4,50,0.3,0),COLOR0055FF;
STICKLINE(X_4<=10,X_4,0,4,0),COLORDD00DD;
STICKLINE(REF(X_6,1)>90 AND X_6<90,30,0,2.5,0),COLORRED;
X_8:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;
X_9:=100-3*SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,72))/(HHV(HIGH,72)-LLV(LOW,72))*100,20,1),15,1);
X_10:=EMA(X_9,2);
X_11:=EMA(EMA(SMA(X_8,6,1)-7,2),2);
X_12:=EMA(EMA(100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42)),3),3);
X_13:=BARSLAST(LOW=HHV(LOW,7));
X_14:=EMA(X_13*X_13,13);
X_15:=IF(X_14>88,88+SQRT(X_14-88),X_14);
X_16:=(X_15+X_11+X_10)/3;
X_17:=(X_15+X_16)/2+8;
X_18:=(X_11+X_16)/2+8;
X_19:=(X_17+X_18)/2;
X_20:=EMA(EMA(100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42)),2),2);
X_21:=EMA(WINNER(CLOSE)*69,3);
X_22:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.93))*80,3);
X_23:=EMA(X_21/(X_21+X_22)*110,2);
X_24:=HHV(X_23,20);
X_25:=LLV(X_23,20);
X_26:=100*(HHV(HIGH,42)-CLOSE)/(HHV(HIGH,42)-LLV(LOW,42));
X_27:=EMA(EMA(X_26,3),2);
X_28:=EMA(EMA(EMA(X_26,4),3),2);
X_29:=EMA(X_23,2);
X_30:=X_24/X_29*(X_25/X_29)*50;
X_31:=IF(X_30>100,100,IF(X_30<1,1,X_30));
X_32:=MAX(X_18,X_17);
X_33:=MIN(X_18,X_17);
X_34:=X_32/X_33;
X_35:=X_18/REF(X_18,1);
X_36:=X_17/REF(X_17,1);
X_37:=EMA(EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*50/(X_20/X_28)/X_34/X_35/X_36,3),2);
X_38:=X_31*X_31*5/SQRT(X_37)/X_29;
X_39:=IF(X_38>100,100,X_38);
X_40:=X_39/X_31;
X_41:=X_31/REF(X_31,1);
X_42:=X_39/REF(X_39,1);
X_43:=EMA(X_40*X_40*X_41*X_42*30,2);
X_44:=IF(X_43>100,100,IF(X_43<0,0,X_43));
X_45:=1.18*(X_24*X_25+5)/(X_31+2)/SQRT(SQRT((X_44+2)/(X_31+5)));
X_46:=100-IF(X_45>90,90+SQRT(X_45-90),IF(X_45<1,1,X_45));
X_47:=EMA(EMA(IF(X_46<0.5,0.5,X_46),2),2);
X_48:=EMA(EMA(X_47*0.96,3),3);
DRAWBAND(X_47,RGB(11,88,55),X_48,RGB(118,11,33));
DRAWICON(CROSS(X_47,95),95,26);
X_49:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
X_50:=HIGH-REF(HIGH,1);
X_51:=REF(LOW,1)-LOW;
X_52:=EXPMEMA(IF(X_50>0 AND X_50>X_51,X_50,0),14);
X_53:=EXPMEMA(IF(X_51>0 AND X_51>X_50,X_51,0),14);
X_54:=X_52*100/X_49;
X_55:=X_53*100/X_49;
X_56:=EMA(100-EMA(ABS(X_55-X_54)/(X_55+X_54)*X_23+X_25,6),3);
X_57:=IF(X_56<0.5,0.5,IF(X_56>106,106,X_56));
X_58:=EXPMEMA(X_57,6);
DRAWBAND(X_58,RGB(228,33,66),X_57,RGB(88,118,168));
DRAWICON(CROSS(X_58,X_57),X_57,30);
X_59:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
X_60:=SMA(X_59,3,1);
X_61:=SMA(X_60,2,1);
X_62:=SMA(X_61,5,1);
X_63:=X_48*39/X_62;
X_64:=IF(X_63>98,98,IF(X_63<1,1,X_63));
X_65:=EMA(0.98*3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2);
X_66:=EMA(0.98*((X_65-LLV(X_65,27))/(HHV(X_65,27)-LLV(X_65,27))*4)*25,2);
X_67:=SQRT(X_65*X_66*1.1);
OKK0:(X_65+X_67)/2,NODRAW;
X_68:=X_64*10/(OKK0+1)+40;
X_69:=IF(X_68>96,96+SQRT(SQRT(X_68-96)),IF(X_68<1,1,X_68));
X_70:=100-X_69;
X_71:=IF(X_70>0,IF(X_70>100,100,X_70),0-SQRT(0-X_70));
X_72:=X_69-X_64-X_64+100;
X_73:=106-IF(X_72>96,96+SQRT(X_72-96),IF(X_72<1,1,X_72));
X_74:=(X_69+10)/(OKK0+10)*((X_73+10)/(OKK0+10))*((X_71+10)/(OKK0+10))*2;
X_75:=IF(X_74>100,100+SQRT(X_74-100),X_74);
X_76:=98-SQRT(X_75*X_73);
X_77:=IF(X_76<1,1-SQRT(ABS(X_76)),X_76);
X_78:=ABS(OKK0-X_77)*1.18+18;
X_79:=IF(X_78<1,1,IF(X_78>100,100,X_78));
X_80:=ABS(OKK0-X_77)*1.14+14;
X_81:=IF(X_80<1,1,IF(X_80>100,100,X_80));
X_82:=EMA(SQRT(X_69*X_73/X_81)*12.6*ABS((X_79+10)/(X_77+10)),2);
X_83:=0.76*X_82*((REF(OKK0,1)+10)/(OKK0+10))*((REF(OKK0,1)+10)/(OKK0+10))*((REF(X_77,1)+10)/(X_77+10))*((REF(X_77,1)+10)/(X_77+10));
X_84:=IF(X_83>96,96+SQRT(SQRT((X_83-96)/2)),IF(X_83<1,1,X_83));
X_85:=X_84-X_79+50;
X_86:=IF(X_85>98,98+SQRT(X_85-98),IF(X_85<1,1,X_85));
X_87:=X_84/(X_86+1)*(X_81/(OKK0/主力警戒+1)+31);
X_88:=IF(X_87>98,98+SQRT(X_87-98),IF(X_87<1,1,X_87));
X_89:=EMA(SQRT((106-X_64)*X_78)/(SQRT(X_86*X_84)/X_73+0.16)/SQRT(X_58/X_57),2)*0.88;
WLL:IF(X_89<1,1,IF(X_89>95,96,X_89)),COLORWHITE,LINETHICK2;
OKK0,COLORRED,LINETHICK2;
注意风险:95,COLORRED,LINETHICK2;
把握机会:60,COLORYELLOW,LINETHICK2;