最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 同花顺面积指标公式

    正文概述    2024-04-14 17:58:51  

    DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:EMA(DIFF,9);
    macd:2*(DIFF-DEA),NODRAW;
    MacDHS:=IF(MACD>0 AND MACD>REF(MACD,1),MACD,0);
    MACDHX:=IF(MACD>0 AND MACD MACDLX:=IF(MACD<0 AND MACD MACDLS:=IF(MACD<0 AND MACD>REF(MACD,1),MACD,0);
    STICKLINE(MACDHS>0,0,MACD,2,0),colorred;
    STICKLINE(MACDHX>0,0,MACD,2,0),coloryellow;
    STICKLINE(MACDLX<0,MACD,0,2,0),colorcyan;
    STICKLINE(MACDLS<0,MACD,0,2,0),colorligreen;
    绿柱面积:10*IF (MACD<0,SUM(MACD,BArslAST(MACD>0)),0),NODRAW,colorcyan;
    红柱面积:10*IF (MACD>0,SUM(MACD,BARSLAST(MACD<0)),0),NODRAW,colorred;
    DRAWNUMBER(REF(MACD,1)>0 AND MACD<=0 ,HHV(MACD,8),REF(红柱面积,1)),colorred;
    DRAWNUMBER(REF(MACD,1)<0 AND MACD>=0 ,LLV(MACD,4),REF(Abs(绿柱面积),1)),colorcyan;
    DRAWNUMBER(ISLASTBAR AND MACD<0,LLV(MACD,8),ABS(绿柱面积)),colorcyan;
    DRAWNUMBER(ISLASTBAR AND MACD>0,HHV(MACD,4),ABS(红柱面积)),colorred;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 同花顺面积指标公式 加入收藏