顺势为王: 判断股价当前所处区间 加仓:21,colorgreen; 平衡:51,colorwhite; 注意:81,colorred; VAR3:=LLV(LOW,18); VAR4:=HHV(HIGH,18); 趋势:EMA((CLOSE-VAR3)/(VAR4-VAR3)*100,13),colorred; 趋势1:EMA(0.618* REF(趋势,1)+0.382*趋势,3),coloryellow; 基金EXPMA: 工作线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; 金钻波段(顶尖财经 股票学院: www.58188.com): VAR1:=HHV(HIGH,9)-LLV(LOW,9); VAR2:=HHV(HIGH,9)-CLOSE; VAR3:=CLOSE-LLV(LOW,9); VAR4:=VAR2/VAR1*100-70; VAR5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100; VAR6:=(2*CLOSE+HIGH+LOW)/4; VAR7:=SMA(VAR3/VAR1*100,3,1); VAR8:=LLV(LOW,34); VAR9:=SMA(VAR7,3,1)-SMA(VAR4,9,1); VAR10:=IF(VAR9>100,VAR9-100,0); VAR11:=HHV(HIGH,34); VAR12:=EMA((VAR6-VAR8)/(VAR11-VAR8)*100,13); VAR13:=EMA(0.667*REF(VAR12,1)+0.333*VAR12,2); STICKLINE(VAR12-VAR13>0,VAR12,VAR13,5,0),colorred; STICKLINE(VAR12-VAR13<0,VAR12,VAR13,5,0),COLOR00FF0F; 生命线:EMA(VAR13,5),coloryellow; 买:CROSS(VAR12,VAR13) AND VAR12>VAR13,NODRAW,colorred; 卖:CROSS(VAR13,VAR12) AND VAR12<VAR13,NODRAW,colorgreen; DRAWICON(买,VAR13,34); DRAWICON(卖,VAR12,35); |