您现在的位置:  股票知识 > 股票公式 > 通达信股票公式 > 正文
南财搜索

通信达公式密码破解 MACD支撑线副图公式源码(2)

2018-06-15 17:02    股票知识   zhishi.southmoney.com
    

B2:=BARSLAST(REF(DEA>0 AND CROSS(DEA,DIFF),M));

B3:=BARSLAST(REF(COUNT(DEA>0,B2+M)=B2+M AND CROSS(DEA,DIFF),M));

B4:=HHV(C,B3+M)>REF(HHV(C,B2+M),B3+M) AND HHV(DIFF,B3+M)<=REF(HHV(DIFF,B2+M),B3+M);

B5:=HHV(C,B2+M)>REF(HHV(C,B1+M),B2+M) AND HHV(DIFF,B2+M)<=REF(HHV(DIFF,B1+M),B2+M);

DINGBL1:=(B4=1 OR B5=1) AND COUNT(DEA>=0,B2+M)=B2+M AND DEA>=0 AND CROSS(DEA,DIFF); 

死叉:IF(CROSS(DEA,DIFF) AND DEA>=0 AND DINGBL1=0,0,DEA),COLORWHITE;

顶背离:IF(DINGBL1=1,0,DEA),COLORGREEN; 

DIBJG:=(A4=1 OR A5=1) AND COUNT(DEA<0,A2+M)=A2+M AND DEA<0 AND DIFF>REF(DIFF,M) AND

 DIFF>REF(DIFF,8) AND DIFF<DEA ;(股票知识网zhishi.southmoney.com)

    股票知识网声明:资讯来源于合作媒体及机构,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。
商务进行时
股票知识学习
联盟广告

关于股票知识网 -版权声明 -诚聘英才 -广告服务 -网站地图 -
特此声明:广告商的言论与行为均与股票知识网无关
zhishi.southmoney.com
股票知识网 © 版权所有 闽ICP备09035581号