DEA:MACD.DEA,COLORYELLOW;
强度1:IF(DEA< DIF,DEA,DRAWNULL),COLORMAGENTA;
MACD2:=MACD;
S05:=SUM(MJ,0);
QXT:=BARSLAST(MJ>0 AND REF(MJ,1)< 0)+1;
ST:=IF(MJ>0,REF(QST,QXT)+QXT,REF(QXT,QST)+QST);
低位金叉:=CROSS(DIF,DEA) AND DIF< -0.1;
二次金叉:=CROSS(DIF,DEA) AND DEA< 0 AND COUNT(JCCOUNT=2,21)=1;
三次金叉:=CROSS(DIF,DEA) AND DEA< 0 AND COUNT(JCCOUNT=3,60)=1;
A002:=BARSLAST(REF(CROSS(DIF,DEA),1));
DRAWICON(LONGCROSS(CLOSE,MA(CLOSE,5),17),MACD2,1);
C81:=REF(C,1);
RSI1:=SMA(MAX(C-C81,0),RN,1)/SMA(ABS(C-C81),RN,1)*100;
STICKLINE(低点,0.1,0,0.3,0),COLORYELLOW;
DRAWTEXT(低点, 0.14,’←底’),COLORYELLOW;
DRAWICON(顶, DIF*1.15,2);
死叉:=CROSS(DEA,DIF);
N2:=REF(BARSLAST(死叉),N1+1),NODRAW;
CL1:=LLV(C,N1+1),NODRAW;
CL2:=REF(CL1,N1+1),NODRAW;
CL3:=REF(CL2,N1+1),NODRAW;
PDIFL2:=IF(DIFL2>0,INTPART(LOG(DIFL2))-1,INTPART(LOG(-DIFL2))-1);
PDIFL3:=IF(DIFL3>0,INTPART(LOG(DIFL3))-1,INTPART(LOG(-DIFL3))-1);
MDIFB2:=INTPART(DIF/POW(10,PDIFL2));
直接底背离:=(CL1< CL2 );
1、 本站所有指标公式源码资源均是从网络采集和会员提供所得,仅供用来学习研究,请于下载后的24h内自行删除,正式商用请购买正版。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件联系我们进行下架或删除。
2、文章内文字内容均为本站原创发布,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。原文链接:https://www.zhibiao123.cn/167599.html,转载请注明出处。