NmiK线密码—破译K线的密码 X_1:=Ema(CLOSE,12/4)-EMA(CLOSE,26/4); X_2:=EMA(X_1,9/4); stICKLINE(X_1>=X_2,42,46,5,0),COLORWHITE; STICKLINE(X_1<X_2,42,46,5,1),COLOR696969; X_3:=EMA(CLOSE,6)-EMA(CLOSE,80); X_4:=EMA(X_3,40); STICKLINE(X_3>=X_4,36,40,5,0),COLORCYAN; STICKLINE(X_3<X_4,36,40,5,1),COLOR696969; X_5:=macd.DIF#WEEK; X_6:=MacD.DEA#WEEK; STICKLINE(X_5>=X_6,30,34,5,0),COLORGREEN; STICKLINE(X_5<X_6,30,34,5,1),COLOR696969; X_7:=MACD.DIF#MONTH; X_8:=MACD.DEA#MONTH; STICKLINE(X_7>=X_8,24,28,5,0),COLORBLUE; STICKLINE(X_7<X_8,24,28,5,1),COLOR696969; 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); STICKLINE(X_10>=X_11,18,22,5,0),COLORYELLOW; STICKLINE(X_10<X_11,18,22,5,1),COLOR696969; 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; STICKLINE(X_13>=X_14,12,16,5,0),COLORRED; STICKLINE(X_13<X_14,12,16,5,1),COLOR696969; X_16:=kdj.K#WEEK; X_17:=kdJ.D#WEEK; STICKLINE(X_16>=X_17,6,10,5,0),COLORMAGENTA; STICKLINE(X_16<X_17,6,10,5,1),COLOR696969; X_18:=KDJ.K#MONTH; X_19:=KDJ.D#MONTH; STICKLINE(X_18>=X_19,0,4,5,0),COLOR880088; STICKLINE(X_18<X_19,0,4,5,1),COLOR696969; 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; STICKLINE(FILTER(CLOSE>=OPEN AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORRED; 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); 20; 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; X_47:=(-(0.05-WINNER(CLOSE/1.12)))*300; ZQ:IF(DH>15 AND DH>X_45 AND DH>X_46,DH,DRAWNULL),COLORYELLOW,LINETHICK2; QS:IF(DH>30 AND DH>X_45 AND DH>X_46,DH,DRAWNULL),COLORRED,LINETHICK2; CQ:IF(X_47>DH,DH,DRAWNULL),COLORBLUE,LINETHICK2; DRAWICON(FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),60,44); STICKLINE(FILTER(X_47>DH AND X_36 AND CLOSE>X_27 AND CLOSE>X_24 AND OPEN/X_32<1.2 AND OPEN/X_33<2.2 AND CLOSE>REF(CLOSE,1)*1.05,10),0,46,2,0),COLORMAGENTA;