{一招定乾坤-技術(shù)}
MA1:MA(CLOSE,N1); MA2:MA(CLOSE,N2); IF(MA1>REF(MA1,1),MA1,DRAWNULL),COLORRED,LINETHICK3; IF(MA1<REF(MA1,1),MA1,DRAWNULL),COLORGREEN,LINETHICK3; MA3:MA(CLOSE,N3),COLORMAGENTA; MA4:MA(CLOSE,N4),COLORGRAY; MA5:MA(CLOSE,N5),COLORGREEN; MA6:MA(CLOSE,N6),COLORLIBLUE; MA7:MA(CLOSE,N7),COLORYELLOW; MA8:MA(CLOSE,N8),COLORMAGENTA; QQ:=0,COLORWHITE; JG:=CROSS(MA1,MA2); VOLUME:=VOL,VOLSTICK; MAVOL1:=MA(VOLUME,N1); MAVOL2:=MA(VOLUME,N2); NL:=CROSS(MAVOL1,MAVOL2); DIF:=EMA(CLOSE,N3)-EMA(CLOSE,N4); DEA:=EMA(DIF,N2); MACD:=(DIF-DEA)*2,COLORSTICK; NA:=CROSS(DIF,DEA); RSV:=(CLOSE-LLV(LOW,N2))/(HHV(HIGH,N2)-LLV(LOW,N2))*100; K:=SMA(RSV,N2,1); D:=SMA(K,N2,1); J:=3*K-2*D; KD:=CROSS(K,D) AND CROSS(J,D); 一招定乾坤:DRAWTEXT((JG AND NL AND NA) OR (JG AND NL AND KD) OR (JG AND NA AND KD) OR (NL AND NA AND KD),L*0.95,'一招定乾坤'),COLORYELLOW; X:=LLV(J,2)=LLV(J,N2); Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0); DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW*0.98,'★短進(jìn)'),COLORLIMAGENTA; JH9:=SMA(MAX(C-REF(C,1),0),N1,1)/SMA(ABS(C-REF(C,1)),N1,1)*100; DRAWTEXT(CROSS(84,JH9),H*1.02,'★S'),COLORGREEN; 空:=EMA(C,N1); 均衡:=EMA(空,N1),COLORWHITE; 中軌:=HHV(MA(H,N3),N3),COLORRED,LINETHICK2; VAR5:=FILTER(均衡>REF(均衡,1)AND 中軌<REF(中軌,1)AND C>REF(C,1),11); DRAWTEXT(VAR5,L*0.98,'追漲'),COLORYELLOW; PT:=XMA(H,N4); PAN:=XMA(CLOSE,N2),COLORBROWN; RUO:=MEMA(CLOSE,N1),COLORLIBLUE; DRAWICON(LONGCROSS(PAN,RUO,0.25) AND PT>H ,L*0.98,1),COLORRED; P1:=5;
P2:=10; P3:=20; P4:=30; P5:=60; P6:=120; P7:=240; P8:=340; N:=4; WX:=MA(CLOSE,0); M1:=MA(CLOSE,P1); M2:=(MA(CLOSE,P2) * IF((N < 2),WX,1)); M3:=(MA(CLOSE,P3) * IF((N < 3),WX,1)); M4:=(MA(CLOSE,P4) * IF((N < 4),WX,1)); M5:=(MA(CLOSE,P5) * IF((N < 5),WX,1)); M6:=(MA(CLOSE,P6) * IF((N < 6),WX,1)); M7:=(MA(CLOSE,P7) * IF((N < 7),WX,1)); M8:=(MA(CLOSE,P8) * IF((N < 8),WX,1)); C1:=REF(CLOSE,1); C2:=HHV(C1,2); C3:=LLV(C1,1); ET:=HHV(C1,2); ET1:=REF(ET,1); XB:=LLV(C1,1); XB1:=REF(XB,1); M:=BARSLAST(((CLOSE < XB) AND (C1 >= XB1))); M11:=REF(M,1); N9:=BARSLAST(((CLOSE > ET) AND (C1 <= ET1))); N1:=REF(N9,1); M21:=(BARSLAST((((M - N9) > 0) AND (M11 <= N1))) + 1); N2:=(BARSLAST((((N9 - M) > 0) AND (N1 <= M11))) + 1); ET2:=HHV(ET,M21); XB2:=LLV(XB,N2); A:=IF((((M - N9) > 0) AND (M11 <= N1)),1,IF((((N9 - M) > 0) AND (N1 <= M11)),0,2)); H1:=IF(((M - N9) > 0),CLOSE,ET2); H2:=IF((A = 1),CLOSE,C2); H3:=IF(((M - N9) < 0),CLOSE,XB2); H4:=IF((A = 1),CLOSE,XB2); H5:=IF((((M - N9) > 0) OR (A = 1)),CLOSE,H3); H6:=REF(H5,1); H7:=REF(H5,2); H8:=(H5 > H6); H9:=(((H4 = REF(H4,1)) AND (REF(H4,1) < REF(H4,2))) AND (H5 > REF(H5,2))); H10:=(((H2 = REF(H2,1)) AND (H4 = REF(H4,1))) AND (H5 = REF(H5,2))); W:=((H8 OR H9) OR H10); T9:=((H5 < H6) AND (H5 < REF(H5,2))); T10:=((H4 = REF(H4,1)) AND (H5 < REF(H5,2))); T11:=((H3 > REF(H3,1)) AND (H5 < REF(H5,1))); T12:=((H5 = REF(H5,1)) AND (H3 = H4)); T13:=((H2 = REF(H2,1)) AND (H2 = H5)); TW:=((((T9 OR T10) OR T11) OR T12) OR T13); PK:=((AMOUNT * (((OPEN + CLOSE) + HIGH) + LOW)) / 4); PK1:=IF((VOL > 0),(PK / AMOUNT),((((OPEN + CLOSE) + HIGH) + LOW) / 4)); BBP:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100); |
|