N:=6;
A1:=kdj.J<100;
A2:=crOSS(dmi.pdi(7,7),DMI.mdi(7,7)) AND trix.TRIX(3,3)>TRIX.MATRIX(3,3);
A4:=CAPITAL/1000000<50 ;
A3:=C>SAR.sar AND (C-SAR.SAR)/SAR.SAR*100>1 AND (C-SAR.SAR)/SAR.SAR*100<=N;
A5:=SUM(HSL,10)<19 AND macd.MacD>REF(MACD.MACD,1) AND MACD.DIF>REF(MACD.DIF,2);
A6:=IF(C<O,REF(C<O,1),C>O);
A7:=mtm.MTM+0.05>=MTM.MTMMA;
XG:=A1 AND A2 AND A4 AND A3 AND A5 AND A7 AND A6;
T:=BArslAST(XG);
止盈价:IF(T>0,REF(C,T)*1.1,DRAWNULL),COLORRED,DOTLINE;
止损价:IF(T>0,REF(C,T)*0.9,DRAWNULL),COLORCYAN,DOTLINE;
DRAWICON(T=0,L*0.94,25);
STICKLINE(XG,L,H,0,0),COLORFF00FF;
STICKLINE(XG,CLOSE,OPEN,3,0),COLOR990099;
STICKLINE(XG,CLOSE,OPEN,2.8,0),COLOR990088;
STICKLINE(XG,CLOSE,OPEN,2.5,0),COLOR990077;
STICKLINE(XG,CLOSE,OPEN,2.2,0),COLOR990066;
STICKLINE(XG,CLOSE,OPEN,1.7,0),COLOR990055;
STICKLINE(XG,CLOSE,OPEN,1.2,0),COLORBB00BB;
STICKLINE(XG,CLOSE,OPEN,0.7,0),COLORDD00DD;
STICKLINE(XG,CLOSE,OPEN,0.2,0),COLORFF00FF;
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/167674.html,转载请注明出处。