趋势起飞 通达信代码分享



示意图


趋势起飞 通达信代码分享




代码分享



趋势起飞副图代码:


GUA2:=LLV(L,33);


GUA3:=HHV(H,21);
GUA4:=EMA((CLOSE-GUA2)/(GUA3-GUA2)*100,10)*-1+100;
趋势线:100-EMA(0.191*REF(GUA4,1)+0.809*GUA4,1),LINETHICK3,COLORFF00FF;
GUP4:=LLV(L,17);
GUP5:=SMA(ABS(L-REF(L,1)),17,1);
GUP6:=SMA(MAX(L-REF(L,1),0),17,2);
GUP7:=-(EMA(IF(L<=GUP4,GUP5/GUP6,-3),1));
STICKLINE(CROSS(GUP7,0),15,0,4,0),COLORYELLOW,LINETHICK2;
起飞:IF(CROSS(GUP7,0),1,0),COLORYELLOW;
GUP8:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLOR00FF00,LINETHICK2;
STICKLINE(CROSS(GUP8,-24),20,0,4,0),COLORYELLOW,LINETHICK2;
急速起飞:IF(CROSS(GUP8,-24),1,0),COLORYELLOW;
GUA22:=EXPMA(EXPMA(EXPMA((2*CLOSE+H+L)/4,4),4),4);
TIMA:=(MA((GUA22-REF(GUA22,1))/REF(GUA22,1)*100,2));
DIMA:=(MA((GUA22-REF(GUA22,1))/REF(GUA22,1)*100,1));
STICKLINE(DIMA>TIMA AND DIMA<0,10,0,1,0),COLORYELLOW;
开始起飞:STICKLINE(DIMA>TIMA AND DIMA<0,10,0,1,0)=1,COLORYELLOW;
GUB1:=(HHV(H,9)-CLOSE)/(HHV(H,9)-LLV(L,9))*100-70;
GUB2:=SMA(GUB1,9,1)+100;
GUB3:=(CLOSE-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
GUB4:=SMA(GUB3,3,1);
GUB5:=SMA(GUB4,3,1)+100;
GUB6:=GUB5-GUB2;
趋势:IF(GUB6>45,GUB6-45,0),COLOR0080FF,LINETHICK2;
GUB7:=REF(L,1);
GUB8:=SMA(ABS(L-GUB7),3,1)/SMA(MAX(L-GUB7,0),3,1)*100;
GUB9:=EMA(IF(CLOSE*1.3,GUB8*10,GUB8/10),3);
GUB10:=LLV(L,30);
GUB11:=HHV(GUB9,30);
GUB12:=IF(MA(CLOSE,58),1,0);
GUB13:=EMA(IF(L<=GUB10,(GUB9+GUB11*2)/2,0),3)/999*GUB12;
GUB14:=IF(GUB13>100,100,GUB13);
STICKLINE(GUB14>0 AND GUB14>REF(GUB14,1),0,GUB14*1.2,3.5,0 );
STICKLINE(GUB14>0 AND GUB14>REF(GUB14,1),0,GUB14*1.2,2.5,0 );
STICKLINE(GUB14>0 AND GUB14>REF(GUB14,1),0,GUB14*1.2,1.5,0 );
STICKLINE(GUB14>0 AND GUB14>REF(GUB14,1),0,GUB14*1.2,0.5,0 );
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),3.5,0),COLOR0000B9;
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),2.8,0),COLOR0000B9;
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),2.0,0),COLOR0000D0;
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),1.2,0),COLOR0000EA;
STICKLINE(REF(趋势,1)<趋势,趋势,REF(趋势,1),0.4,0),COLOR0000FF;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),3.5,0),COLOR009100;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),2.8,0),COLOR00A600;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),2.0,0),COLOR00A600;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),1.2,0),COLOR00AE00;
STICKLINE(REF(趋势,1)>趋势,趋势,REF(趋势,1),0.4,0),COLOR00D200;
清仓:=CROSS(82,RSI);
STICKLINE(清仓,清仓,10,3.5,0),COLORFF0000;
STICKLINE(清仓,清仓,15,2.5,0),COLORFF0000;
STICKLINE(清仓,清仓,20,1.5,0),COLORFF0000;
STICKLINE(清仓,清仓,25,0.5,0),COLORFFCC00;
STICKLINE(清仓,清仓,30,0.1,0),COLOR00D700;
GUC:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,GUC),10,15);
DRAWTEXT(CROSS(82,GUC),35,'清仓'),COLORYELLOW;



条件选股


起飞:


GUP4:=LLV(L,17);


GUP5:=SMA(ABS(L-REF(L,1)),17,1);
GUP6:=SMA(MAX(L-REF(L,1),0),17,2);
GUP7:=-(EMA(IF(L<=GUP4,GUP5/GUP6,-3),1));
起飞:CROSS(GUP7,0),COLORYELLOW;



开始起飞:


GUA22:=EXPMA(EXPMA(EXPMA((2*CLOSE+H+L)/4,4),4),4);


TIMA:=(MA((GUA22-REF(GUA22,1))/REF(GUA22,1)*100,2));
DIMA:=(MA((GUA22-REF(GUA22,1))/REF(GUA22,1)*100,1));
开始起飞:DIMA>TIMA AND DIMA<0,COLORYELLOW;



极速起飞:


GUP4:=LLV(L,17);


GUP5:=SMA(ABS(L-REF(L,1)),17,1);
GUP6:=SMA(MAX(L-REF(L,1),0),17,2);
GUP7:=-(EMA(IF(L<=GUP4,GUP5/GUP6,-3),1));
GUP8:=(CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100,COLOR00FF00,LINETHICK2;
GUB1:=(HHV(H,9)-CLOSE)/(HHV(H,9)-LLV(L,9))*100-70;
GUB2:=SMA(GUB1,9,1)+100;
急速起飞:CROSS(GUP8,-24),COLORYELLOW;



发表评论 取消回复

电子邮件地址不会被公开。 必填项已用*标注

有些内容是需要登录本网站才可以查看的,若是需要登录的话,欢迎加站长微信“laogong0311”,站长免费帮大家注册账号!

遇到问题?请给我们留言

请填写您的电话号码,我们将回复您电话