水手突破 这个和龙腾四海等几个经传指标,很古老很经典的指标 指标中,黄色的可以交易,这样有涨幅,并且涨的快 {水手突破} 上趋势:MA(LOW,20)*1.2,COLOR0080FF,LINETHICK1; 次上趋势:MA(LOW,20)*1.1,COLORYELLOW; 次下趋势:MA(HIGH,20)*0.9,COLORWHITE; 下趋势:MA(HIGH,20)*0.8,COLORGREEN,LINETHICK1; ZD:=(C-REF(C,1))/REF(C,1)*100; HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20)); 趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C<次上趋势,2,IF(C<下趋势,0,1))); STICKLINE(趋势强度=0,H,L,2,1),COLORBLUE; STICKLINE(趋势强度=1,H,L,2,1),COLORGREEN; STICKLINE(趋势强度=2,H,L,2,1),COLORGRAY; STICKLINE(趋势强度=3,H,L,2,1),COLORYELLOW; STICKLINE(趋势强度=4,H,L,2,1),COLORMAGENTA; STICKLINE(趋势强度=0,C,O,2,0),COLORBLUE; STICKLINE(趋势强度=1,C,O,2,0),COLORGREEN; STICKLINE(趋势强度=2,C,O,2,0),COLORGRAY; STICKLINE(趋势强度=3,C,O,2,0),COLORYELLOW; STICKLINE(趋势强度=4,C,O,2,0),COLORMAGENTA; kd短线: 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; 金:BARSLAST(CROSS(K,D))NODRAW;死:BARSLAST(CROSS(D,K))NODRAW; DRAWICON(CROSS(K,D),D,1); {K上穿D做记号}; DRAWICON(CROSS(D,K),K,2); {D下穿K做记号}; IF(J<0.5,J,DRAWNULL),COLOR0000FF,LINETHICK2; IF(K>90,K,DRAWNULL),COLOR0000FF,LINETHICK2; IF(D>85,D,DRAWNULL),COLORFFFF11,LINETHICK2; DRAWICON(COUNT(J<0,8)>=3 AND CROSS(J,1) AND K>=REF(K,1),J,1); DRAWICON(K>80 AND D>80 AND CROSS(D,K),D,2); {日线指标} VAR1A:=REF((LOW+OPEN+CLOSE+HIGH)/4,1); VAR2A:=SMA(ABS(LOW-VAR1A),13,1)/SMA(MAX(LOW-VAR1A,0),10,1); VAR3A:=EMA(VAR2A,34); VAR4A:=LLV(LOW,5); VAR5A:=EMA(IF(LOW<=VAR4A,VAR3A,0),24); 洗盘:IF(VAR5A>REF(VAR5A,1),VAR5A,0),COLORGREEN,NODRAW; STICKLINE(VAR5A>REF(VAR5A,1),0,VAR5A,2,0 ),COLORGREEN; 主力拉升:IF(VAR5A<REF(VAR5A,1),VAR5A,0),COLORRED,NODRAW; STICKLINE(VAR5A<REF(VAR5A,1),0,VAR5A,2,0),COLORRED; XP:=REF(洗盘,1); LS:=主力拉升; XPLS:=(XP AND LS); AAA:=BARSLAST (VAR5A>REF(VAR5A,1))=1 ; STICKLINE (AAA=1,0,50,2,0),COLORYELLOW; {DRAWTEXT(XPLS,主力拉升,'洗盘'),COLORYELLOW;}; A80:80,DOTLINE,COLORMAGENTA,LINETHICK1; A50:50,DOTLINE,COLORFFFF00,LINETHICK1; VAR1:=C-REF(C,1); VAR2:=100*EMA(EMA(VAR1,6),6)/EMA(EMA(ABS(VAR1),6),6); MA5:=EMA(C,5); MA13:=EMA(C,13); UP:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),0),COLOR0000FF; DOWN:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(MA5,MA13))+1),HHV(H,BARSLAST(CROSS (MA5,MA13))+1),L=LLV(L,BARSLAST(CROSS(MA13,MA5))+1),LLV(L,BARSLAST(CROSS (MA13,MA5))+1),0),COLOR00FF00; BT:(LLV(VAR2,2)=LLV(VAR2,7) AND COUNT(VAR2<0,2) AND CROSS(VAR2,MA(VAR2,2))) AND REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1); STICKLINE(UP,0,3,2,0),COLOR0000FF; STICKLINE(DOWN,0,3,2,0),COLOR00FF00; STICKLINE(BT,0,30,2,0),COLOR000088; STICKLINE(BT,0,30,1,0),COLOR0000CC; STICKLINE(BT,0,30,0.22,0),COLOR0000FF; DRAWTEXT(BT,30,'短牛'),COLOR0000FF; TJ1:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HHV(H,21)*0.82; STICKLINE(TJ1,0,20,3,0),COLOR880088; STICKLINE(TJ1,0,20,1.5,0),COLORAA00AA; STICKLINE(TJ1,0,20,0.8,0),COLORCC00CC; STICKLINE(TJ1,0,20,0.2,0),COLORFF00FF; DRAWTEXT(TJ1,20,'中牛'),COLORFF00FF; HR:=HHV(HIGH,55); HRY:=LLV(LOW,55); HRY11:=HR*HRY; HRY33:=SQRT(HRY11); TJ2:=REF(DOWN,1)<REF(DOWN,2) AND UP>REF(DOWN,1) AND C<HRY33; STICKLINE(TJ2,0,10,3,0),COLOR008888; STICKLINE(TJ2,0,10,2,0),COLOR00AAAA; STICKLINE(TJ2,0,10,1,0),COLOR00CCCC; STICKLINE(TJ2,0,10,0.2,0),COLOR00FFFF; DRAWTEXT(TJ2,10,'大牛'),COLOR00FFFF; ST:=REF(UP,1)>REF(UP,2) AND DOWN<REF(UP,1); STICKLINE(ST,100,90,2,0),COLOR008800; STICKLINE(ST,100,90,2,0),COLOR00AA00; STICKLINE(ST,100,90,1,0),COLOR00CC00; STICKLINE(ST,100,90,0.2,0),COLOR00FF00; DRAWTEXT(ST,90,'卖'),COLORFFFFFF; DRAWICON(BT AND TJ1 AND TJ2,15,65); 上升:IF(K>REF(K,1),K,DRAWNULL),LINETHICK1,COLORRED; 天气预告(顶尖财经:股票学院 http://www.58188.com): VAR1:=EMA(HHV(HIGH,500),21); VAR2:=EMA(HHV(HIGH,250),21); VAR3:=EMA(HHV(HIGH,90),21); VAR4:=EMA(LLV(LOW,500),21); VAR5:=EMA(LLV(LOW,250),21); VAR6:=EMA(LLV(LOW,90),21); VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR1*0.558+VAR2*0.558+VAR3*0.558)/6,21); VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR1*0.55+VAR2*0.55+VAR3*0.65)/6,21); VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR1*0.68+VAR2*0.68+VAR3*0.68)/6,21); VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21); VARC:=SMA(ABS(L-REF(L,1)),3,1)/SMA(MAX(L-REF(L,1),0),3,1)*100; VARD:=EMA(IF(C*1.35<=VARA,VARC*10,VARC/10),3); VARF:=HHV(VARD,30); 暴风雪:EMA(IF(L=LLV(L,30) OR C=LLV(C,30),(VARD+VARF*2)/2,0),3)/1000,COLORFFFFFF; 热浪:EMA(IF(H=HHV(H,30) OR C=HHV(H,30),(VARD+VARF*2)/2,0),3)/800,COLOR0000FF; STICKLINE(热浪>0,0,热浪,1,0),COLORFF0099; STICKLINE(暴风雪>0,0,暴风雪,1,0) COLOR3366CC; STICKLINE(L=LLV(L,30) OR C=LLV(C,30),0,暴风雪,1,0),COLORFFFFFF; STICKLINE(L=LLV(L,30) OR C=LLV(C,30),IF(暴风雪<40,暴风雪,40),0,1,0),COLORCCCC00; STICKLINE(L=LLV(L,30) OR C=LLV(C,30),IF(暴风雪<20,暴风雪,20),0,1,0),COLOR996600; STICKLINE(L=LLV(L,30) OR C=LLV(C,30),IF(暴风雪<10,暴风雪,10),0,1,0),COLOR00CC00; STICKLINE(暴风雪>9 AND (L=LLV(L,30) OR C=LLV(C,30)) AND C>REF(C,1)*0.90165, 暴风雪,暴风雪-5,1,0),COLORFFFFFF; 雪莲花:IF(((暴风雪>0 AND C<MA(C,5)*0.88) OR 暴风雪>9) AND (L=LLV(L,30) OR C=LLV (C,30)) AND C>REF(C,1)*0.9016,IF(暴风雪>0.5,暴风雪-0.5,0),DRAWNULL), CROSSDOT,LINETHICK6,COLOR9933FF; IF(((暴风雪>0 AND C<MA(C,5)*0.88) OR 暴风雪>9) AND (L=LLV(L,30) OR C=LLV(C,30)) AND C>REF(C,1)*0.9016,IF(暴风雪>0.5,暴风雪-0.5,0),DRAWNULL),POINTDOT, LINETHICK4,COLOR33CCFF; STICKLINE(H=HHV(H,30) OR C=HHV(H,30),热浪,0,1,0),COLOR0000FF; STICKLINE(H=HHV(H,30) OR C=HHV(H,30),IF(热浪<20,热浪,20),0,1,0),COLOR3333FF; 雷阵雨:IF(((热浪>0 AND H>MA(C,5)*1.1) OR 热浪>2) AND (H=HHV(H,30) OR C=HHV(C,30)) AND C<REF(C,1)*1.0985,热浪+3,DRAWNULL),CROSSDOT,LINETHICK8,COLOR666633; STICKLINE(((热浪>0 AND H>MA(C,5)*1.1) OR 热浪>2) AND (H=HHV(H,30) OR C=HHV(C,30)) AND C<REF(C,1)*1.0985,热浪+2.9,0,2,0),COLOR999999; STICKLINE(((热浪>0 AND H>MA(C,5)*1.1) OR 热浪>2) AND (H=HHV(H,30) OR C=HHV(C,30)) AND C<REF(C,1)*1.0985,热浪+2.9,0,1,1),COLOR999999; |