以下是通达信常用趋势,简单找底副图指标源码

通达信常用趋势,简单找底副图指标源码

使用说明:此趋势线是指标里最常用的,我添加了几条色带,感观上更好识别一点。N值可根据标的股前期底部值调整,祝大家投资顺利!

{趋势进出 N:2,80,8}
趋势:3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),COLOR00CCFF,NODRAW;
趋势线:=趋势-N;
DRAWBAND(趋势线,RGB(255,135,0),0,RGB(0,135,0));
DRAWBAND(趋势线*0.8,RGB(255,165,0),0,RGB(0,165,10));
DRAWBAND(趋势线*0.6,RGB(255,195,0),0,RGB(0,195,0));
DRAWBAND(趋势线*0.4,RGB(255,225,0),0,RGB(0,225,0));
DRAWBAND(趋势线*0.2,RGB(255,255,0),0,RGB(0,255,0));
ZZ:=SMA(趋势,5,4);
买:CROSS(趋势,ZZ)&&REF(趋势,1)<60,NODRAW,COLORFF88FF;
卖:CROSS(ZZ,趋势)&&REF(趋势,1)>80,NODRAW,COLOR00CC00;
抄底:CROSS(趋势,N),NODRAW,COLOR0000FF;
STICKLINE(抄底,0,25,0.6,0),COLOR0000FF;
DRAWICON(买,1,38);
DRAWICON(卖,趋势线+1,39);

 

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。