最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信MACD四次金叉+CCI未加密选股指标公式源码

    正文概述    2022-05-11 00:00:00  

    TYP:=(HIGH+LOW+CLOSE)/3;
    cci:(TYP-ma(TYP,14))/(0.015*AVEDEV(TYP,14))*0.0015,COLORCYAN,LINETHICK1;
    difF:ema(CLOSE,12)-EMA(CLOSE,27)COLORRED;
    DEA:EMA(DIFF,9),COLORBLUE;

    MacD:2*(DIFF-DEA)COLORSTICK;
    JCCOUNT:=COUNT(crOSS(DIFF,DEA),BArslAST(DEA>=0));
    一次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=1,5)=1;
    二次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,5)=1;
    三次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=3,5)=1;
    四次金:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=4,5)=1;
    一次金叉:IF(一次金,0.3,0)COLORBLUE,LINETHICK2;
    二次金叉:IF(二次金,0.3,0)COLORLIMAGENTA,LINETHICK2;
    三次金叉:IF(三次金,0.3,0)COLORMAGENTA,LINETHICK2;
    四次金叉:IF(四次金,0.3,0)COLORWHITE,LINETHICK2;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信MACD四次金叉+CCI未加密选股指标公式源码 加入收藏