N=1。00 90。00 30。00 M1=1。00 30。00 3。00 M2=1。00 30。00 3。00
RSV:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:SMA(RSV,M1,1);
D:SMA(K,M2,1);
J:3*K-2*D;
買(mǎi):=IF("KDJ.J"<0,10,0);
條件:=CROSS(9.9,買(mǎi));
VAR1:=(2*CLOSE+HIGH+LOW)/4;
VAR2:=LLV(LOW,5);
VAR3:=HHV(HIGH,5);
VAR4:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,5);
MA1:=MA(VAR4,2);
AA:STICKLINE(VAR4>MA1,VAR4,MA1,3,1),COLORRED;
BBB:STICKLINE(VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),COLORRED;
STICKLINE(VAR4<=MA1,VAR4,MA1,3,1),COLORFFCC66;
DRAWICON(CROSS(9.9,買(mǎi)),VAR4-12,5);
STICKLINE(CROSS(9.9,買(mǎi)),VAR4+5,MA1-4,3,1),COLORYELLOW;
XXX:=STICKLINE(BBB,VAR4+5,MA1-4,3,1),COLORYELLOW;
STICKLINE(FILTER(((VAR4>MA1 AND REF(VAR4,1)<30,VAR4,MA1,3,1),VAR4+5,MA1-4,3,1),5) ,VAR4+5,MA1-4,3,1),COLORYELLOW;
A1:3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑馬線(xiàn):EMA(A1,5),LINETHICK2,COLOR6600FF;
A2:=(黑馬線(xiàn)-REF(黑馬線(xiàn),1))/REF(黑馬線(xiàn),1)*100;
A3:=EMA(C,5);
A4:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趨勢(shì)線(xiàn):(MA(3*SMA(A4,6,1)-2*SMA(SMA(A4,5,1),5,1),2)),LINETHICK2,COLORYELLOW;
A5:=(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))*100;
DRAWTEXT(FILTER(REF(黑馬線(xiàn),1)>90 AND A2<0,7),黑馬線(xiàn),'跑'),COLOR00FF00;
DRAWTEXT(CROSS(A1,黑馬線(xiàn))AND 黑馬線(xiàn)<A5,黑馬線(xiàn),'黑馬');
DRAWTEXT(CROSS(黑馬線(xiàn),A5)AND 趨勢(shì)線(xiàn)<80,黑馬線(xiàn),'追');
DRAWTEXT(CROSS(趨勢(shì)線(xiàn),0)AND 黑馬線(xiàn)<40,5,'大黑馬');
底部:(A2<-10 AND A2>REF(A2,1))*25,COLORWHITE,LINETHICK3;
DRAWICON(底部 AND A3>REF(A3,1),25,4);
機(jī)會(huì)來(lái)臨:REF(IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,30,0),1),COLORF00FF0;
大勢(shì)已去:IF(CROSS(黑馬線(xiàn),A1)AND 黑馬線(xiàn)>70 AND 趨勢(shì)線(xiàn)>80,90,100),COLORFF0000;
VARK1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
VARK2:=REVERSE(VARK1);
VARK3:=SMA(VARK1,3,1);
波段王:=SMA(VARK3,3,1), , COLORRED,LINETHICK2;
波段鬼:=SMA(波段王,2.5,1),COLORYELLOW,LINETHICK2;
賣(mài):IF((CROSS(波段鬼,波段王) OR CROSS(波段鬼,趨勢(shì)線(xiàn)) OR CROSS(波段王,趨勢(shì)線(xiàn)) ) AND 波段鬼>65,90,0),STICK,
,COLORFFFF00 ,LINETHICK3;
(責(zé)任編輯:張曉軒)