看盤(pán) M1:MA(CLOSE,5),DOTLINE,COLORLICYAN; M2:MA(CLOSE,10),DOTLINE,COLORBROWN; M3:MA(CLOSE,20),COLORLIMAGENTA,LINETHICK2; M4:MA(CLOSE,40),DOTLINE,COLORGRAY; M5:MA(CLOSE,60),COLORRED,LINETHICK3; M6:MA(CLOSE,120),DOTLINE, COLORC08080; M7:MA(CLOSE,250),DOTLINE,COLORGREEN; A:=(L-MA(C,20))/MA(C,20)*100<=0.1 AND( L-MA(C,20))/MA(C,20)*100>=-0.1 AND C>MA(C,60) AND C>MA(C,250); B:DRAWICON(A,MA(C,20),1); 均線較大值:=MAX(MAX(MAX(MAX(M1,M2),M3),M4),M5); 均線較小值:=MIN(MIN(MIN(MIN(M1,M2),M3),M4),M5); 波動(dòng):=均線較大值/均線較小值<=1.03 AND O<均線較小值 AND C>均線較大值 AND V/REF(V,1)>=1.5; S1:DRAWTEXT(波動(dòng),L,'一陽(yáng)穿多線'),COLORBLUE; 六十均線上:IF(M5>REF(M5,1),M5,DRAWNULL),COLORRED,LINETHICK3; 六十均線下:IF(M5<REF(M5,1),M5,DRAWNULL),COLORGREEN,LINETHICK3; S2:=C/REF(C,1)>=1.0985 AND C/REF(C,1)<=1.103; S3:STICKLINE(S2,C,O,2,0),COLORYELLOW; S4:=C/REF(C,1)>=1.1985 AND C/REF(C,1)<=1.203; S5:STICKLINE(S4,C,O,2,0),COLORYELLOW; S7:=REF(C,1)/C>=1.099;{ AND REF(C,1)/C<=1.103;} S8:STICKLINE(S7,C,O,2,0),COLORFF0080; {S9:=REF(C,1)/C>=1.1985 AND REF(C,1)/C<=1.203; S10:STICKLINE(S9,C,O,2,1),COLORFF0000;} 當(dāng)日漲幅:=(C-REF(C,1))/REF(C,1)*100; 三日漲幅:=SUM(當(dāng)日漲幅,3)>=15; 一天前漲停:=REF(C,1)/REF(C,2)>=1.0992 AND REF(C,1)/REF(C,2)<=1.103; 今日收陰線:=C<O; 龍頭首陰:=三日漲幅 AND 一天前漲停 AND 今日收陰線; S6:DRAWICON(龍頭首陰,L,38); MA13:MA(C,13),COLORFF6633,LINETHICK1; MA26:MA(C,26),COLORFFFF00,LINETHICK1; IF(MA(C,13)>=REF(MA(C,13),1),MA(C,13),DRAWNULL),COLORRED,LINETHICK1; IF(MA(C,26)>=REF(MA(C,26),1),MA(C,26),DRAWNULL),COLORRED,LINETHICK1; DIF:=EMA(CLOSE,12)-EMA(CLOSE,26); DEA:=EMA(DIF,9); MACD:=(DIF-DEA)*2; 動(dòng)力:=MACD>REF(MACD,1) AND MACD<0 AND MA(C,13)>=REF(MA(C,13),1) AND MA(C,26)>=REF(MA(C,26),1); 動(dòng)力1:=MACD>REF(MACD,1) AND MACD>0 AND MA(C,13)>=REF(MA(C,13),1) AND MA(C,26)>=REF(MA(C,26),1); 動(dòng)力2:=MACD<REF(MACD,1) AND MACD>0 AND MA(C,13)<=REF(MA(C,13),1) AND MA(C,26)<=REF(MA(C,26),1); 動(dòng)力3:=MACD<REF(MACD,1) AND MACD<0 AND MA(C,13)<=REF(MA(C,13),1) AND MA(C,26)<=REF(MA(C,26),1); STICKLINE(動(dòng)力,H,L,0,0),COLORRED; STICKLINE(動(dòng)力,OPEN,CLOSE,1,0),COLORRED; STICKLINE(動(dòng)力1,H,L,0,0),COLORRED; STICKLINE(動(dòng)力1,OPEN,CLOSE,1,0),COLORRED; STICKLINE(動(dòng)力2,H,L,0,0),COLORGREEN; STICKLINE(動(dòng)力2,OPEN,CLOSE,1,0),COLORGREEN; STICKLINE(動(dòng)力3,H,L,0,0),COLORGREEN; STICKLINE(動(dòng)力3,OPEN,CLOSE,1,0),COLORGREEN; B11:=CONST(HHV(H,120));B12:=HHVBARS(H,120)*1;B13:=CONST(LLV(LOW,B12));B4:=B13/B11; B15:=B4*100-100;回撤:B15,NODRAW;IF(B15<=-30,B15,DRAWNULL),NODRAW,COLORRED; 偏10:(C-MA(C,10))/MA(C,10)*100,NODRAW; 偏20:(C-MA(C,20))/MA(C,20)*100,NODRAW; 偏60:(C-MA(C,60))/MA(C,60)*100,NODRAW; 偏200:(C-MA(C,250))/MA(C,250)*100,NODRAW; |
|