• 网站首页
  • 股票知识
  • 股票公式
  • 散户炒股
  • 问答百科
  • 缠中说禅
  • 概念股
  • 【股票入门基础知识】【通达信】全周期净量主图指标公式

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

    {成交方向———————————————————————————-}
    T00:=200;
    AF1:=300;
    FX:=IF(C>REF(C,1),1,IF(C0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS02)/MAXBS*300,955,1000,975,IF(BS02>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS03)/MAXBS*300,930,1000,950,IF(BS03>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS04)/MAXBS*300,905,1000,925,IF(BS04>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS05)/MAXBS*300,880,1000,900,IF(BS05>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS06)/MAXBS*300,855,1000,875,IF(BS06>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS07)/MAXBS*300,830,1000,850,IF(BS07>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS08)/MAXBS*300,805,1000,825,IF(BS08>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS09)/MAXBS*300,780,1000,800,IF(BS09>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS10)/MAXBS*300,755,1000,775,IF(BS10>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS11)/MAXBS*300,730,1000,750,IF(BS11>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS12)/MAXBS*300,705,1000,725,IF(BS12>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS13)/MAXBS*300,680,1000,700,IF(BS13>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS14)/MAXBS*300,655,1000,675,IF(BS14>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS15)/MAXBS*300,630,1000,650,IF(BS15>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS16)/MAXBS*300,605,1000,625,IF(BS16>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS17)/MAXBS*300,580,1000,600,IF(BS17>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS18)/MAXBS*300,555,1000,575,IF(BS18>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS19)/MAXBS*300,530,1000,550,IF(BS19>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS20)/MAXBS*300,505,1000,525,IF(BS20>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS21)/MAXBS*300,480,1000,500,IF(BS21>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS22)/MAXBS*300,455,1000,475,IF(BS22>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS23)/MAXBS*300,430,1000,450,IF(BS23>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS24)/MAXBS*300,405,1000,425,IF(BS24>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS25)/MAXBS*300,380,1000,400,IF(BS25>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS26)/MAXBS*300,355,1000,375,IF(BS26>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS27)/MAXBS*300,330,1000,350,IF(BS27>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS28)/MAXBS*300,305,1000,325,IF(BS28>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS29)/MAXBS*300,280,1000,300,IF(BS29>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS30)/MAXBS*300,255,1000,275,IF(BS30>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS31)/MAXBS*300,230,1000,250,IF(BS31>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS32)/MAXBS*300,205,1000,225,IF(BS32>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS33)/MAXBS*300,180,1000,200,IF(BS33>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS34)/MAXBS*300,155,1000,175,IF(BS34>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS35)/MAXBS*300,130,1000,150,IF(BS35>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS36)/MAXBS*300,105,1000,125,IF(BS36>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS37)/MAXBS*300,080,1000,100,IF(BS37>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS38)/MAXBS*300,055,1000,75,IF(BS38>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS39)/MAXBS*300,030,1000,50,IF(BS39>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(1000-ABS(BS40)/MAXBS*300,005,1000,25,IF(BS40>0,RGB(200,0,0),RGB(0,200,0)));
    DRAWRECTREL(0,0,250,170,RGB(50,50,100));
    多方:=SUM(IF(FX=1,V,0),TT)/SUM(V,TT)*100;
    空方:=SUM(IF(FX=-1,V,0),TT)/SUM(V,TT)*100;
    平衡:=SUM(IF(FX=0,V,0),TT)/SUM(V,TT)*100;
    DRAWRECTREL(0,0,CONST(多方*2.5),100,RGB(200,50,50));
    DRAWRECTREL(CONST(多方*2.5),0,CONST(多方*2.5+平衡*2.5),100,RGB(200,200,50));
    DRAWRECTREL(CONST(多方*2.5+平衡*2.5),0,250,100,RGB(50,200,50));
    DRAWTEXT_FIX(1,0,0.1,0,STRCAT(STRCAT(STRCAT(‘多方:’,CON2STR(多方,1)),
    STRCAT(‘平衡:’,CON2STR(平衡,1))),STRCAT(‘空方:’,CON2STR(空方,1)))),COLORYELLOW;
    DRAWTEXT_FIX(1,0,0,0,STRCAT(‘最小单位:’,CON2STR(单位,3))),COLORLIGRAY;
    分时线:IF(PERIOD=0,C,DRAWNULL),COLORWHITE,LINETHICK3;
    均价:SUM(AMOUNT/100,T00)/SUM(V,T00),COLORYELLOW,LINETHICK2;
    DRAWKLINE(H,O,L,C);
    DRAWTEXT_FIX(1,0.5,0,1,STRCAT(STRCAT(‘行业:’,HYBLOCK),STRCAT(‘◆◆’,DYBLOCK))),COLORYELLOW;
    DRAWTEXT_FIX(1,0.5,0.05,1,STRCAT(‘风格’,FGBLOCK)),COLORLIGRAY;
    DRAWTEXT_FIX(1,0.5,0.1,1,STRCAT(‘流通盘(亿元):’,CON2STR(FINANCE(7)/100000000,3))),COLORGREEN;
    DRAWTEXT_FIX(1,0,1,0,’分析图中除一分钟分析图之外,更改T00设置不同选取周期,0是全周期,默认200′),COLORLIGRAY;
    DRAWTEXT_FIX(1,0,0.9,0,’仅供股票与公式成员研究使用’),COLORMAGENTA;

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

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

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

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