通达信“止损线”条件选股公式

FL:=MA(CLOSE,15)+ABS(MA(CLOSE,15)-REF(MA(CLOSE,15),1)),COLORWHITE;
 FS:=MA(CLOSE,15)+MA(CLOSE,15)-REF(MA(CLOSE,15),1),COLORWHITE;
 BB:=IF(MA(CLOSE,5)<FS,FS,MA(CLOSE,5)),COLORWHITE;
 NX:=EMA(C,250);
 A:=BB-(EMA(C,3)-BB),COLORWHITE;
 DIFF:=EMA((NX-(EMA(C,3)-NX)),5),LINETHICK2;
止损线:=EMA(COST(60),10) COLORRED,LINETHICK2;
牛熊线:=EMA(COST(27),120);
 XG1:=CROSS(BB,DIFF);

超准:=EMA(C,26);
超级趋势线2:=PLOYLINE(MA(C,3)>超准,超准);
超级趋势线:=PLOYLINE(MA(C,3)<超准,超准);
XG2:=超级趋势线>超级趋势线2;

 XG3:=O>REF(H,1) AND O/REF(C,1)>1.04 AND C>O AND V/CAPITAL*100>5 AND C/REF(C,1)>1.03;

 XG4:=C>MA(C,5) AND C>MA(C,10) AND C>MA(C,20) AND C>MA(C,60) AND C>MA(C,120);

 XG5:=(ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60 AND IF(CODELIKE('300'),0,1) AND IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(4)>0 AND H>L;

 XG6:=XG1 AND XG2 AND XG3 AND XG4 AND XG5;

 XG7:=V/MA(V,5)>=1 AND V/CAPITAL*100>15 AND C/REF(C,1)>1.03;

 XG8:=MA(C,60)>MA(C,120) AND (ATAN((MA(C,5)/REF(MA(C,5),1)-1)*100)*180/3.14115926)>60 AND IF(CODELIKE('300'),0,1) AND IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(4)>0 AND H>L;

 XG9:=XG1 AND XG2 AND XG7 AND XG8;

 XG10:=O>REF(H,1) AND O/REF(C,1)>1.04 AND C>O AND V/MA(V,5)>=1 AND V/CAPITAL*100>3 AND C/REF(C,1)>1.03;

 XG11:=MA(C,60)>MA(C,120) AND IF(CODELIKE('300'),0,1) AND IF(NAMELIKE('S'),0,1) AND IF(NAMELIKE('*'),0,1) AND DYNAINFO(4)>0 AND H>L;

 XG12:=COUNT(XG1,2)>=1 AND XG2 AND XG4 AND XG10 AND XG11;

 XG6 OR XG9 OR XG12;
 



上一篇:通达信晴天下雨主图指标    下一篇:通达信30顶主图指标




未来函数检测结果如下:
该公式包含未来函数:COST
该公式包含未来函数:CAPITAL
该公式包含未来函数:DYNAINFO
解密、定制、编写股票指标请联系QQ或微信同号:88652583
相关股票指标公式

联系我们  |  股票指标网  |  指标网   |  指标公式  |   加入收藏   |  设为主页

@2005-2023 粤ICP备2023063687号-2 股票指标网别名指标网仅为互联网文章,所有股票指标公式及文章仅供学习研究,并不构成投资建议,请勿以此为依据进行股票交易,由此引起的投资亏损与本站无关。股票指标网均来源互联网收集整理,如不慎侵犯了你的权益,请联系我们告知,我们将做删除处理
QQ:88652583 微信 88652583
sitemap站点地图