最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • MACD四种形态的选股公式【通达信】

    正文概述    2024-05-04 17:08:31  

    分别是:MACD选股公式---二次金叉,二次翻红,DIF下破0轴及0轴附近金叉。
    使用他们,再结合这价格,形态,,还怕没有好股,可挑吗?你懂的!
    (1)二次金叉:
    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA =0));
    二次金叉:CROSS(DIFF,DEA) AND DEA 0 AND COUNT(JCCOUNT=2,21)=1;
    (2)二次翻红:
    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    FH1:=REF(MACD,1)
    FH2:=MACD =0 AND COUNT(MACD REF(MACD,1),1)=1;
    FH3:=FH1 AND FH2 AND EMA(C,13) REF(EMA(C,13),1);
    FH4:=FH1 AND FH2 AND ABS((DIFF-DEA)/C) 0.018;
    FH5:=FH1 AND FH2 AND MACD 0.10;
    FH3 OR FH4 OR FH5;
    (3)DIF下破0轴:
    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    均线向上:=EMA(C,144) =REF(EMA(C,144),1) AND  EMA(C,233) =REF(EMA(C,233),1);
    破0轴:均线向上 AND REF(DIFF,1) 0 AND DIFF
    (4)0轴附近金叉(特别是0轴之上):
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9),LINETHICK1;
    CROSS(DIF,DEA) AND DEA -0.05;
    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » MACD四种形态的选股公式【通达信】 加入收藏