通达信短线买点 做波段主图/选股源码 无未来

[复制链接]
查看228 | 回复0 | 2021-8-20 14:01:46 | 显示全部楼层 |阅读模式

以下是通达信短线买点 做波段主图/选股源码 无未来(无源码的请下载附件导入)

{主图均线系统和副图MACD等组合优化}
 {主图均线}
MA5:EMA(C,5),COLORWHITE;
 MA14:EMA(C,14),COLORF00FF0,LINETHICK1;
 MA25:EMA(C,25),COLORCYAN,LINETHICK2;
 MA99:EMA(CLOSE,99),LINETHICK1;
 MA120:EMA(CLOSE,120),LINETHICK1;
 {MACD优化}
DIFF:=( EMA(CLOSE,7) - EMA(CLOSE,19)),COLORWHITE;
 DEA:=EMA(DIFF,9),COLORF00FF0 ;
 MACD:=0.90*(DIFF-DEA), COLORSTICK;
 TJ:=(DIFF>=DEA);
 TJ1:=(DIFF>=0);
 {组合优化}
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,'买进'),COLORYELLOW;
 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,0),COLORYELLOW;
 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,3,0),COLORYELLOW;

63811059.jpg

63811059.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则