通达信macd指标选股(macd底部金叉选股指标)

股票投资 2023-01-27 16:49www.16816898.cn股票投资分析
  • 求通达信的选股公式,条件是MACD大于零。
  • 请老师编写一个macd的选股公式通达信的谢谢
  • 求通达信公式macd选股公式
  • 通达信MACD指标改为选股器
  • macd二次低位金叉选股公式
  • macd低位三次金叉选股公式通达信
  • 请求各位帮忙——通达信软件macd底部线、柱背离且金叉的选股公式。
  • 1、求通达信的选股公式,条件是MACD大于零。

    {通达信中到目前为止系统还不支持60分钟、30分钟的选股平台,只能给你MACD日线选股。}
    DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    MACD:=2(DIF-DEA);
    MACD>0;
    {上面的选股是你要的日线MACD大于0的选股公式,这一公式选出的股票一般都有一段涨幅了,我猜想你可能是要DIF红线上穿DEA黄线的选股吧。所以我帮你做了下面另一个公式}
    DIF:=EMA(C,12)-EMA(C,26);
    DEA:=EMA(DIF,9);
    MACD:=2(DIF-DEA);
    CROSS(DIF,DEA);

    2、请老师编写一个macd的选股公式通达信的谢谢

    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2(DIFF-DEA);
    SX:=BARSLAST(CROSS(DEA,DIFF))+1;
    JX:=BARSLAST(CROSS(DIFF,DEA))+1;
    T1:=IF(JX=1 AND DIFF>REF(DIFF,REF(JX,1)+1),1,0);
    T2:=IF(JX=1 AND LLV(DIFF,SX)>REF(LLV(DIFF,SX),SX),1,0);
    XG:T1 OR T2;

    3、求通达信公式macd选股公式

    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);

    DEA:=EMA(DIF,9);

    MACD:=(DIF-DEA)2;

    X1:DIF>REF(DIF,1) AND V>=MA(V,50),COLORRED;

    X2:MACD<REF(MACD,1),COLORGREEN;


    这样的条件设计会信号过多,而且,出现两条件重叠情况.

    4、通达信MACD指标改为选股器

    {冲锋号角}
    B1:=IF(CLOSE AND MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)1.0 AND CLOSE,88,0);
    B2:=IF(CLOSE/REF(CLOSE,1)>1.050 AND VOL/CAPITAL100<15 AND CLOSE<17 AND HIGH/CLOSE<1.010 AND B1>0,91,0);
    去除ST:=EXIST(C/REF(C,1)>1.055,60);
    去除停牌:=DYNAINFO(4)>0;
    去掉新股:=BARSCOUNT(CLOSE)>30;
    冲锋号角:B2>90 AND 去除ST AND 去除停牌 AND 去掉新股;

    {狙击导线穿伏击阵地}
    B3:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))1000;
    B4:=EMA(B3,1);
    B5:=EMA(B4,100);
    B6:=3B4-2B5;
    B7:=EMA(B6,5)/10;
    狙击导线:=EMA(B7,1);
    伏击阵地:=IF(B7<15,35,0);
    去除ST:=EXIST(C/REF(C,1)>1.055,60);
    去除停牌:=DYNAINFO(4)>0;
    去掉新股:=BARSCOUNT(CLOSE)>30;
    XG:CROSS(狙击导线,伏击阵地) AND 去除ST AND 去除停牌 AND 去掉新股;
    股票公式专家团为你解答,希望能帮到你,祝投资顺利。

    5、macd二次低位金叉选股公式

    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);
    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;
    {已测试,复制可直接引用,如果回答满意,请记得给采纳}

    6、macd低位三次金叉选股公式通达信

    DIFF:=EMA(CLOSE,12)-EMA(CLOSE,27);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=3,21)=1;

    7、请求各位帮忙——通达信软件macd底部线、柱背离且金叉的选股公式。

    DIF:=((EMA(CLOSE,26)-EMA(CLOSE,12)))-1;
    DEA:=EMA(DIF,9);
    A1:=BARSLAST(REF(CROSS(DIF,DEA),1));
    底背离:REF(CLOSE,A1+1)>CLOSE AND DIF>REF(DIF,A1+1) AND CROSS(DIF,DEA),STICK,;
    STICKLINE(底背离,0,1,2,0),COLOR00FF00;
    DRAWTEXT(底背离,1,'底背离'),COLORFF00FF;

    Copyright © 2016-2025 www.16816898.cn 168股票网 版权所有 Power by