最强选股战法推荐:
通达信均线粘合选股指标公式源码
源码正文:
N:=10{XG51};
ma5:=MA(CLOSE,5){XG51};
MA10:=MA(CLOSE,10){XG51};
MA20:=MA(CLOSE,20){XG51};
MA30:=MA(CLOSE,30){XG51};
MA60:=MA(CLOSE,60){XG51};
MA90:=MA(CLOSE,90){XG51};
MA120:=MA(CLOSE,120){XG51};
MA250:=MA(CLOSE,250){XG51};
DTPL:=MA10>MA30 AND MA30>REF(MA30,1){XG51};
DG:=MAX(MAX(MA5,MA10),MAX(MA20,MA30)){XG51};
ZG:=MAX(MAX(DG,MA60),MAX(MA90,MA120)){XG51};
DD:=MIN(MIN(MA5,MA10),MIN(MA20,MA30)){XG51};
ZD:=MIN(MIN(DD,MA60),MIN(MA90,MA120)){XG51};
粘合:=(ZG/ZD-1)*100<N,POINTDOT,LINETHICK0{XG51};
高粘:=(ZG/ZD-1)*100<N AND ZD>MA250,POINTDOT,LINETHICK0{XG51};
穿5:(粘合 AND crOSS(C,MA5))*0.5{XG51};
穿10:(粘合 AND CROSS(C,MA10))*1{XG51};
穿20:(粘合 AND CROSS(C,MA20))*2{XG51};
穿30:(粘合 AND CROSS(C,MA30))*3{XG51};
FLSZ:=(C/REF(C,1)-1)*100>=2 AND V>REF(V,1){XG51};
DXTP:=((穿5/0.5)+穿10+(穿20/2)+(穿30/3))>=2{XG51};
优选:(FLSZ AND DXTP AND MA30>REF(MA30,1))*3,COLOR00FFFF,LINETHICK2{XG51};
选优:(FLSZ AND DXTP AND MA30>REF(MA30,1) AND COUNT(高粘,20)>=15)*3,COLOR0000FF,LINETHICK2{XG51};
JXDT:=MA5>MA10 AND MA10>MA20 AND MA20>MA30{XG51};
发散:(JXDT AND NOT(REF(JXDT,1)))*1,COLOR00FF00,LINETHICK2{XG51};
起飞:(NOT(粘合) AND REF(粘合,1) AND COUNT(粘合,20)>=15 AND DTPL)*3,COLORFF00FF,LINETHICK2{XG51};
stICKLINE(粘合,-0.2,0,4,0),COLOR00FF00{XG51};
STICKLINE(高粘,0.2,0,4,0),COLORFF00FF{XG51};
DRAWTEXT(优选,3,'优●选'),COLOR00FFFF{XG51};
DRAWTEXT(发散,2,'发●散'),COLOR00FF00{XG51};
DRAWTEXT(起飞,3,'起●飞'),COLOR00FFFF{XG51};
DRAWICON(选优,0.3,1){XG51};
DRAWICON(起飞,3,1){X!G=5+1!C!N!{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7