• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【配资炒股】【通达信】顶底压力主图指标公式

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

    N02:=30;
    高:=REFDATE(HHV(H,N02),DATE);
    低:=REFDATE(LLV(L,N02),DATE);
    H1:=高-(高-低)*0.191;
    H2:=高-(高-低)*0.382;
    H3:=高-(高-低)*0.5;
    H4:=高-(高-低)*0.618;
    H5:=高-(高-低)*0.809;
    DRAWTEXT(CURRBARSCOUNT=1,高,’高位’),COLORRED;
    DRAWTEXT(CURRBARSCOUNT=1,H1,’809′),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=1,H2,’618′),COLORRED;
    DRAWTEXT(CURRBARSCOUNT=1,H3,’050′),COLORLIMAGENTA;
    DRAWTEXT(CURRBARSCOUNT=1,H4,’382′),COLORRED;
    DRAWTEXT(CURRBARSCOUNT=1,H5,’191′),COLORWHITE;
    DRAWTEXT(CURRBARSCOUNT=1,低,’低位’),COLORRED;
    STICKLINE(CURRBARSCOUNT=13,高,高,100,-1),COLORRED;
    STICKLINE(CURRBARSCOUNT=13,H1,H1,100,-1),COLORWHITE;
    STICKLINE(CURRBARSCOUNT=13,H2,H2,100,-1),COLORRED;
    STICKLINE(CURRBARSCOUNT=13,H3,H3,100,-1),COLORLIMAGENTA;
    STICKLINE(CURRBARSCOUNT=13,H4,H4,100,-1),COLORRED;
    STICKLINE(CURRBARSCOUNT=13,H5,H5,100,-1),COLORWHITE;
    STICKLINE(CURRBARSCOUNT=13,低,低,100,-1),COLORRED;
    {黄金分割线结束};
    N:=150;判断高低:=3;
    近期顶:REFDATE(高,DATE),COLORGREEN,LINETHICK3;
    最顶:=REFDATE(近期顶,DATE),NODRAW;
    出:=最顶=H AND ((C-L)T2HIGH));
    T3HIGH:=CONST(REF(HIGH,T3));
    必杀线:DRAWLINE(CURRBARSCOUNT=T3+1, T3HIGH, ISLASTBAR, T3HIGH, 1),COLORRED,LINETHICK3;{,LINETHICK2,COLOR0000FF;}
    DRAWTEXT(ISLASTBAR, T3HIGH, ‘必杀线’)LINETHICK1,COLOR0000FF;
    MA5K:必杀线,COLORYELLOW,LINETHICK1;
    STICKLINE(ISLASTBAR,HHV(C,10),HHV(C,10),218,1)COLORYELLOW;
    STICKLINE(ISLASTBAR,HHV(C,10)*0.95,HHV(C,10)*0.95,218,1)COLORYELLOW;

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

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

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

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