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

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

    {彩色筹码峰主图}
    DA1:=IF(130>TOTALBARSCOUNT,TOTALBARSCOUNT,130);
    DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
    HI:=REFDATE(HHV(H,DA),DATE);
    LO:=REFDATE(LLV(L,DA),DATE);
    C1:=IF(CURRBARSCOUNT=(HI/GZ),V,0),DA);
    LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1=(HI/POW(GZ,3)) AND C1=(HI/POW(GZ,4)) AND C1=(HI/POW(GZ,5)) AND C1=(HI/POW(GZ,6)) AND C1=(HI/POW(GZ,7)) AND C1=(HI/POW(GZ,8)) AND C1=(LO*GZ) AND C1=LO AND C1=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0),COLORFF6600,LINETHICK3;
    STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0),COLORBROWN,LINETHICK3;
    STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0),COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0),COLOR00DDFF,LINETHICK3;
    STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0),COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0),COLORFF00FF,LINETHICK3;
    STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0),COLOR0000FF,LINETHICK3;
    STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0),COLOR666600,LINETHICK3;
    STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0),COLORLICYAN,LINETHICK3;
    STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0),COLOR99FF00,LINETHICK3;
    DRAWKLINE(H,O,L,C);
    {缺口公式 说明:向上跳空红色,向下跳空绿色}
    STICKLINE(L>REF(H,1),L,REF(H,1),10,1001),COLORRED;
    STICKLINE(REF(L,1)>H,REF(L,1),H,10,1001),COLORGREEN;
    {箱体}
    HHH:HHV(H,30);
    LLL:LLV(L,30);
    A5:EMA(AMOUNT/(100*VOL),5);
    A10:EMA(AMOUNT/(100*VOL),10);
    A20:EMA(AMOUNT/(100*VOL),20);
    A30:EMA(AMOUNT/(100*VOL),30);
    IF(C>A30,A30,DRAWNULL),COLORFF00FF,LINETHICK2;
    DRAWTEXT(CROSS(A5,A30),L,’?’),COLORYELLOW;
    {立桩量}
    AAA:=(3*C+H+L+O)/6;
    VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)
    +3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/36;
    TJ1:=VOL=HHV(VOL,10) AND VOL>2*REF(VOL,1) AND CLOSE>VAR1;
    立桩量:=FILTER(TJ1,5);
    TJ2:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(HIGH,1),1,IF(BARSLAST(立桩量)=2
    AND CLOSE>REF(HIGH,2),1,IF(BARSLAST(立桩量)=3 AND CLOSE>REF(HIGH,3),1,0)));
    突破:=TJ2=1;
    TJ3:=IF(BARSLAST(立桩量)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量)=2 AND CLOSE>REF(LOW,2),1,IF
    (BARSLAST(立桩量)=3 AND CLOSE>REF(LOW,3),1,0)));
    三天法则:=TJ3=1;
    成立:=三天法则 AND 突破;
    条件成立:=FILTER(成立,3);
    DRAWTEXT(条件成立=1,L*0.99,’成立’),COLORYELLOW;

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

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

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

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