• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • [股票入门基础知识]同花顺牛头马面副图公式源码

    发布时间: 2022-07-10 02:49 首页:股票一点通>股票公式>同花顺公式> 阅读()

    以下是同花顺牛头马面副图公式源码(无源码的请下载附件导入)

    本指标不含未来函数,专业捕捉底部,放心使用。

    BIAS1 := (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100;

    BIAS2 := (CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;

    BIAS3 := (CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100;

    BIASAA:=(BIAS1+BIAS2+BIAS3)/3;

    dif:=(EMA(BIASAA,5)-EMA(BIASAA,34));

    de:=EMA(dif,9);

    MACD:3*(dif-de);

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,3,0),COLOR0000AA;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2.7,0),COLOR0000BB;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2.3,0),COLOR0000CC;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,2,0),COLOR0000CC;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1.6,0),COLOR0000DD;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,1.2,0),COLOR0000EE;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,0.8,0),COLOR0000FF;

    STICKLINE(MACD>0 AND MACD>REF(MACD,1),MACD,0,0.5,0),colorred;

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD>0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,3,0),ColorFF00a9;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.7,0),ColorFF00a1;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2.3,0),ColorFF00aa;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,2,0),ColorFF00bb;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.6,0),ColorFF00cc;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,1.2,0),ColorFF00dd;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.8,0),ColorFF00ee;

    STICKLINE(MACD<0 AND MACD>REF(MACD,1),MACD,0,0.5,0),ColorFF00ff;

    /////////

    b5:=SMA(BIAS1,2,1),colorgreen,LINETHICK1,LINEDOT;

    b13:=SMA(BIAS2,2,1),LINETHICK0,colorred;

    b34:=SMA(BIAS3,5,1),colorwhite,LINETHICK1;

    m13_5:EMA(b13,5),colorwhite,LINETHICK1;

    m13_10:EMA(b13,10),colorcyan,LINETHICK1;

    m34_5:=EMA(b34,5),colorgreen,,LINEDOT;

    m34_10:=EMA(b34,10),colormagenta,LINEDOT;

    cysm13:b13,LINETHICK0,colorbrown;

    牛头:m34_5,colorgreen,,LINEDOT;

    马面:m34_10,colormagenta,LINEDOT;

    /////////

    DRAWICON(CROSS(b13,m13_5),m13_5,12),ALIGN;

    DRAWICON(CROSS(m13_5,b13),m13_5,11),ALIGN;

    DRAWICON(CROSS(m13_5,m13_10) AND b13>REF(b13,1),0,3),ALIGN;

    DRAWICON(CROSS(m34_5,m13_10) AND b13>REF(b13,1) ,0,1),ALIGN;

    /////////////

    AAA:=REF(CLOSE,1);

    BBB:=SMA(MAX(CLOSE-AAA,0),5,1)/SMA(ABS(CLOSE-AAA),5,1)*1000;

    HHH:=BBB-LLV(BBB,10);

    SS:=(MA(HHH,2)*3+HHH*13)/16;

    短线买点:=IF(SS>13,MA(SS,2),SS)/6;

    短线出击:IF(CROSS(短线买点,1) AND (短线买点<30),10,0),colorwhite,LINETHICK2;

    [股票入门基础知识]同花顺牛头马面副图公式源码

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

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

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

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