• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票基础知识]通达信极品MACD放量+选股指标公式

    发布时间: 2020-09-30 21:06 首页:股票一点通>股票公式>通达信公式> 阅读()

    DIFF:EMA(CLOSE,12)-EMA(CLOSE,27),NODRAW;
    DEA:EMA(DIFF,9),NODRAW;
    MACD:2*(DIFF-DEA), COLORSTICK,LINETHICK2;
    低位金叉:=CROSS(DIFF,DEA) AND DIFF<-0.1;
    STICKLINE(低位金叉,0,0.08,6,0),COLORYELLOW;
    DRAWTEXT(低位金叉,0.16,' 低位金叉'),COLORWHITE;
    JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA>=0));
    二次金叉:=CROSS(DIFF,DEA) AND DEA<0 AND COUNT(JCCOUNT=2,21)=1;
    STICKLINE(二次金叉,0,0.06,6,0),COLORFF00FF;
    DRAWICON(二次金叉,DEA*0.9,1) ;
    DRAWTEXT(二次金叉,0.2,' 二次金叉'),COLORYELLOW;
    A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));
    底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF>REF(DIFF,A1+1) AND CROSS(DIFF,DEA);
    STICKLINE(底背离,0,0.03,6,0),COLOR00FF00;
    底背:DRAWLINE(A1=0,DEA,底背离,DEA,0),COLORRED,LINETHICK4;
    DRAWTEXT(底背离,0.12,' 底背离'),COLORFF00FF;
    A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));
    顶背离:=REF(CLOSE,A2+1)DIFF AND CROSS(DEA,DIFF);
    顶背:DRAWLINE(A2=0,DEA,顶背离,DEA,0),COLORGREEN,LINETHICK4;
    DRAWTEXT(低位金叉 AND 二次金叉 AND 底背离,0.25,'三全项'),COLOR0000FF,LINETHICK2;
    _红柱:IF("MACD.MACD">REF("MACD.MACD",1),"MACD.MACD",DRAWNULL),
    STICK,COLORRED;
    绿柱:IF("MACD.MACD"STICK,COLORYELLOW;
    _抄底:ABS((CROSS("MACD.DIF","MACD.DEA")
    &&"MACD.DEA"<=-0.07)*"MACD.DIF")*1.50,COLORLIMAGENTA;
    _DIF:"MACD.DIF",COLORWHITE;
    _DEA:"MACD.DEA",COLORYELLOW;
    __强度:IF(_DIF>_DEA,_DIF,DRAWNULL),COLORRED,LINETHICK2;
    _强度:IF(_DEA<_DIF,_DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;
    DRAWTEXT(ABS(_抄底)>0,_抄底*1.20,' 抄底'),COLORYELLOW;
    DRAWICON(ABS(_抄底)>0,_抄底*1.10,4);
    DRAWICON(CROSS(_DIF,_DEA),_DEA,1);
    DRAWICON(CROSS(_DEA,_DIF),_DEA,2);
    量:=IF(CURRBARSCOUNT=1 AND PERIOD=5,VOL*240/FROMOPEN,DRAWNULL);
    放量:FILTER(IF(FROMOPEN<220,量,VOL)>2*((REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4))/4) AND C>O,5),STICK,LINETHICK1,COLORFFFFFF;
    DRAWTEXT(放量>0,0.18,'★放量'),COLORFF00FF;

    {
    选股公式:

    VAR1:=HHV(HIGH,5);VAR2:=LLV(LOW,34);
    VAR3:=HHV(HIGH,34);
    近:=EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);
    远:=EMA(0.667*REF(近,1)+0.333*近,2);
    {狙击:=CROSS(近,20) AND 远<近;
    AA:=CROSS(近,远) AND 近<20;}
    D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4);
    主力持仓线:=D+100;
    {BB:=REF(CROSS(主力持仓线,20),1) AND 主力持仓线<20;}
    XG:近<50 AND 主力持仓线>REF(主力持仓线,1) AND REF(主力持仓线,1)>REF(主力持仓线,2) AND 主力持仓线<20;
    }

    [股票基础知识]通达信极品MACD放量+选股指标公式

    特别声明:文章内容仅供参考,不造成任何投资建议。投资者据此操作,风险自担。

    网站首页-股票知识--股票公式-散户炒股-问答百科--缠中说禅-概念股

    未经本站书面特别授权,请勿转载或建立镜像

    Copyright @ 2020 All Rights Reserved.版权所有 XMl地图
    Baidu
    map