波段上行: 多:EMA(C,3),COLOR0080FF; 空:EMA(C,5),COLOR00FF00; 均衡:EMA(空,5),COLORFF0000,; VARF1:=COUNT(CROSS(多,均衡),2)=1; VARF2:=COUNT(CROSS(空,均衡),2)=1; ZAI:=FILTER(VARF1 AND VARF2,2); DRAWTEXT(ZAI,均衡*0.985,' ▲'),colorred; DRAWTEXT(ZAI,均衡*0.958,' 波段上行'),COLOR0080FF; VV2:=REF(CLOSE,1); VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100; DRAWICON(REF(VV3,1)>81 AND VV3<80,HIGH,2); VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2; DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'☆'),colorred; VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100; VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5); DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(VARA>=VARB AND VARA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入'); VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100; DRAWICON(CROSS(82,VARR1),HIGH,2); DRAWTEXT(CROSS(82,VARR1),HIGH,''),COLOR0080FF; VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5; VAR2:=REF(VAR1,1); VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100; HY3:=IF(COUNT(VAR3<20,5)>=1 AND COUNT(VAR1=LLV(VAR1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0); DRAWTEXT(HY3,LOW,' 注意买入'),colorred; S:=MA(VOL,5)/MA(VOL,60),colorred,,LINETHICK2; A:=MA(S,5),colorgreen,,LINETHICK2; BIAS:=(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100; F:=MA(S,121); RSV:=(CLOSE-LLV(LOW,45))/(HHV(HIGH,45)-LLV(LOW,45))*100; K:=SMA(RSV,15,1); D:=SMA(K,15,1); J:=3*K-2*D; LC:=REF(CLOSE,1); RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100; DRAWTEXT(CROSS(84,RSI) , HIGH*1.03,'逢高出局!'),COLOR00FF00 ; S1:=IF((J<11 AND BIAS>-11 AND CROSS( S,F) AND (S-F)>0.010),2,0),STICK,LINETHICK3,COLOR00FF00; DRAWTEXT(S1=2,LOW,'关注!'), colorgreen; {中轨:HHV(MA(H,13),13),colorred,LINETHICK2;} {趋势:LLV(MA(H,13),1),COLORC0C0C0,LINETHICK2;}; 李林成主图优化: H1=HHV(C,20); L1:LLV(C,10); L11=LLV(C,3); L2=HHV(C,3); STICKLINE(WINNER(L2)>0.3 AND WINNER(L2)<0.6 ,L1,L2,8,0),coloryellow; STICKLINE(WINNER(L2)>0.6 AND WINNER(L2)<0.91,L2,L1,8,0),colorred; STICKLINE(WINNER(L2)<0.3,L1,H1,8,0),colorgray; STICKLINE(WINNER(H)>=0.95,H1,L2,15,0),colorred; STICKLINE(WINNER(L2)>0.3 AND WINNER(L2)<0.6 AND C<REF(C,1),L1,L2,8,1),coloryellow; STICKLINE(WINNER(L2)>0.6 AND WINNER(L2)<0.91AND C<REF(C,1),L2,L1,8,1),colorred; 基金EXPMA(顶尖财经 股票学院: www.58188.com): 工作线17:EMA(CLOSE,20),coloryellow; 中期线50:EMA(CLOSE,60),linethick2; 长期线453:EMA(CLOSE,120),colorred,linethick2; DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)); DEA:=EMA(DIFF,9); MACD:=0.90*(DIFF-DEA); tj:=(diff>=dea); tj1:=(diff>=0); STICKLINE(tj,H,L,0,0),coloryellow; STICKLINE(tj,O,C,8,0),coloryellow; STICKLINE(tj1 AND tj,H,L,0,0),colorred; STICKLINE(tj1 AND tj,O,C,8,0),colorred; STICKLINE(diff<dea,H,L,0,1),colorffcc00; STICKLINE(diff<dea,O,C,8,1),colorffcc00; Var1:=(CLOSE*2+HIGH+LOW)/4; SK:= EMA(Var1,13)-EMA(Var1,73); SD:= EMA(SK,2); DRAWTEXT((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)) ,L*0.99,'短线'),colorgreen; STICKLINE((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),H,L,0.5,0),colorred; STICKLINE((CROSS(sk,sd) AND sk<-0.04 AND (C-REF(C,1))/REF(C,1)>=0.03) OR (CROSS(sk,sd) AND sk<=-0.14 ) OR (CROSS(sk,sd) AND sk<=0.05 AND (V/MA(V,5)>2 OR C/REF(C,1)>0.035)),O,C,10,1),linethick3,colorred; |