• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票配资】【通达信】换手率加MACD双背离指标公式

    发布时间: 2020-04-17 08:03 首页:股票一点通>股票公式>通达信公式> 阅读()

    A1:=IF(RANGE(FROMOPEN,0,61),VOL/CAPITAL*100*60/FROMOPEN,DRAWNULL);
    A2:=IF(RANGE(FROMOPEN,60,121),VOL/CAPITAL*100*120/FROMOPEN,A1);
    A3:=IF(RANGE(FROMOPEN,120,181),VOL/CAPITAL*100*180/FROMOPEN,A2);
    A4:=IF(RANGE(FROMOPEN,180,241),VOL/CAPITAL*100*240/FROMOPEN,A3);
    A5:=IF(ISLASTBAR&&PERIOD=5,VOL/CAPITAL*100*240/FROMOPEN,DRAWNULL);
    预测:IF(ISLASTBAR&&PERIOD=4,A4,A5),COLORRED;
    STICKLINE(ISLASTBAR,预测,0,-1,-1),COLORGREEN;
    J10:=O>REF(C,1) AND C5;
    DRAWNUMBER(J10 AND J20,HSL*1.1,J15);
    换手:100*DYNAINFO(37),VOLSTICK,NODRAW;
    十换手:SUM(换手,10),NODRAW;
    廿换手:SUM(换手,20),COLORFF6EC7,NODRAW;
    获利比:WINNER(C)*100,COLOR0080FF,NODRAW;
    量比:V/(REF(MA(V,5),1)),LINETHICK0,COLORRED,NODRAW;
    P1:=HSL1 AND HSL3 AND HSL5 AND HSL10;
    STICKLINE(P1,0,HSL,2.0,0),COLOR808080;
    STICKLINE(P2,0,1,2.0,0),COLOR808080;
    STICKLINE(P2,1,HSL,2.0,0),COLOR008000;
    STICKLINE(P3,0,1,2.0,0),COLOR808080;
    STICKLINE(P3,1,3,2.0,0),COLOR008000;
    STICKLINE(P3,3,HSL,2.0,0),COLOR0080FF;
    STICKLINE(P4,0,1,2.0,0),COLOR808080;
    STICKLINE(P4,1,3,2.0,0),COLOR008000;
    STICKLINE(P4,3,5,2.0,0),COLOR0080FF;
    STICKLINE(P4,5,HSL,2.0,0),COLOR0000FF;
    STICKLINE(P5,0,1,2.0,0),COLOR808080;
    STICKLINE(P5,1,3,2.0,0),COLOR008000;
    STICKLINE(P5,3,5,2.0,0),COLOR0080FF;
    STICKLINE(P5,5,10,2.0,0),COLOR0000FF;
    STICKLINE(P5,10,HSL,2.0,0),COLORGREEN;
    M5:MA(HSL,5),COLORWHITE;
    M10:MA(HSL,10),COLORYELLOW;
    M20:MA(HSL,20),COLORFF00FF;
    DRAWICON(换手>25,换手,15);
    DRAWTEXT_FIX(ISLASTBAR,0.20,0,0,’★换手率>3红柱!!’),COLORRED;
    DRAWTEXT_FIX(ISLASTBAR,0.30,0,0,’★换手率>10绿柱!!’),COLORGREEN;
    DRAWTEXT_FIX(ISLASTBAR,0.40,0,0,’★换手率>25锁定盈利!!’),COLORYELLOW;
    DRAWTEXT_FIX(ISLASTBAR,0.52,0,0,’★股价低位红柱绿柱进货!!’),COLORFFFF00;
    DRAWTEXT_FIX(ISLASTBAR,0.66,0,0,’★股价高位绿柱拉高出货!!’),COLORMAGENTA;
    DIFF:=EMA(CLOSE,12) – EMA(CLOSE,26);
    DEA:=EMA(DIFF,9);
    MACD:=2*(DIFF-DEA);
    QZQ:=BARSLAST(REF(MACD,1)0);
    QM:=LLVBARS(MACD,QZQ+20);
    MQDZ:=IF(QM>QZQ,REF(MACD,QM),0);
    QF:=LLVBARS(DIFF,QZQ+20);
    DQDZ:=IF(QF>QZQ,REF(DIFF,QF),0);
    XG1:=MACDMQDZ AND DIFFDQDZ
    AND CLOSE=LLV(CLOSE,QZQ+20) AND MQDZ

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

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

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

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