最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信基本面顶底主图指标公式

    正文概述    2024-05-04 04:35:38  

    以下是通达信主图指标公式源码和使用说明


    通达信基本面顶底主图指标公式源码:

       ZT:=C/REF(C,1)-1 =0.1-0.01/REF(C,1);{}

       涨停次数:=COUNT(ZT,BARSSINCE(C)+1);{历史}

       周期:=220;

       年涨停数:SUM(ZT,周期),NODRAW;

       市值(亿元):CAPITAL/1000000*C,NODRAW;

       市盈动:DYNAINFO(39),NODRAW;

       :DYNAINFO(17),COLORWHITE,NODRAW;

       换手:100*/(FINANCE(7)/100),NODRAW;

       涨幅:(C/REF(C,1)-1)*100,NODRAW;

       最高:H,COLORWHITE,NODRAW;

       最低:L,COLORRED,NODRAW;

       振幅:(H-L)/REF(C,1)*100,NODRAW;

       涨停:ZTPRICE(REF(CLOSE,1),0.1),COLORRED,NODRAW;

       跌停:DTPRICE(REF(CLOSE,1),0.1),COLORWHITE,NODRAW;

       {右下角行业概念}

       B1:=stRCAT(DYBLOCK,'');

       B2:=STRCAT(B1,STRCAT(HYBLOCK,''));

       B3:=STRCAT(B2,STRCAT(FGBLOCK,''));

       B4:=STRCAT(B3,STRCAT(GNBLOCK,''));

       DRAWTEXT_FIX(ISLASTBAR,0.99,0.93,1,STRCAT(B4,0)),COLORRED;

       品种类型:=FINANCE(3);

       上市天数:=FINANCE(42);

       股总市值:=ROUND(FINANCE(41)/100000000);

       流通市值:=ROUND(FINANCE(40)/100000000);

       股东人数:=FINANCE(8);

       人均持股:=ROUND(FINANCE(7)/FINANCE(8));

       DRAWTEXT_FIX(1,0.008,0.01,0,'基本资料:'),COLORFFCC99;

       DRAWTEXT_FIX(1,0.008,0.05,0,'品种类型:'),COLOR99CCFF;

       DRAWTEXT_FIX(1,0.008,0.09,0,'行业:'),COLOR99CCFF;

       DRAWTEXT_FIX(1,0.008,0.13,0,'上市天数:'),COLOR99CCFF;

       DRAWTEXT_FIX(1,0.008,0.17,0,'股东人数:'),COLOR99CCFF;

       DRAWTEXT_FIX(1,0.008,0.21,0,'人均持股:'),COLOR99CCFF;

       DRAWTEXT_FIX(品种类型=1,0.055,0.05,0,'沪深A股'),coloryellow;

       DRAWTEXT_FIX(品种类型=2,0.055,0.05,0,'中小板'),coloryellow;

       DRAWTEXT_FIX(品种类型=3,0.055,0.05,0,'创业板'),coloryellow;

       DRAWNUMBER_FIX(1,0.050,0.13,0,上市天数),colorgreen;

       DRAWNUMBER_FIX(1,0.050,0.17,0,股东人数),colorgreen;

       DRAWNUMBER_FIX(1,0.050,0.21,0,人均持股),colorgreen;

       DRAWTEXT_FIX(1,0.08,0.13,0,'天'),colorwhite;

       DRAWTEXT_FIX(1,0.08,0.17,0,'人'),colorwhite;

       DRAWTEXT_FIX(1,0.08,0.21,0,'股'),colorwhite;

       获利:IF(WINNER(CLOSE),WINNER(CLOSE)*100,0),NODRAW,COLOR0080FF;

       净资产:FINANCE(34),NODRAW,colorred;

       公积金:FINANCE(18),NODRAW,colorgreen;

       未分利润:FINANCE(32),NODRAW,colormagenta;

       利润增长:FINANCE(43),coloryellow,NODRAW;开幅:100*(O/REF(C,1)-1),coloryellow,NODRAW;

       箱顶:HHV(MA((LOW+HIGH+CLOSE+O)/4,5),58),DOTLINE,colorcyan,LINETHICK1;

       N3:=60;

       B3:=EMA(C,3);

       B4:=SMA(SMA(B3,2,1),2,1);

       LLV(EMA(B4,1),N3),DOTLINE,colorcyan,LINETHICK1;

       F:EMA(CLOSE,21),colorred,LINETHICK2;

       IF(F REF(F,1),F,DRAWNULL),LINETHICK2,colorred;

       IF(F REF(F,1),F,DRAWNULL),LINETHICK2,colorgreen;

       网13:expma(CLOSE,13),colorgray,LINETHICK1;

       M:=13;

       顶1:=REFDATE(HHV(H,M),DATE);

       底1:=REFDATE(LLV(L,M),DATE);

       H1:=顶1-(顶1-底1)*0.191;

       H2:=顶1-(顶1-底1)*0.382;

       H3:=顶1-(顶1-底1)*0.5;

       H4:=顶1-(顶1-底1)*0.618;

       H5:=顶1-(顶1-底1)*0.809;

       顶部:REFDATE(顶1,DATE),COLOR666666;

       底部:REFDATE(底1,DATE),COLOR666666;

       DRAWTEXT(ISLASTBAR,顶部,'顶部'),colorgreen;

       DRAWTEXT(ISLASTBAR,底部,'底部'),colorred;

       MA1:MA(CLOSE,34);

       K1:=(C+H+L)/3;

       D1:=MA(K1,4);

       高:=REF(HHV(H,80),3);

       低:=REF(LLV(L,80),3);

       顶点:REFDATE(高,DATE),COLORGREEN,LINETHICK3;

       低点:REFDATE(低,DATE),COLORRED,LINETHICK2;

       AA05:MA(C,5),LINETHICK3,COLOR00CCFF;

       BB05:=ATAN((AA05/REF(AA05,1)-1)*100)*180/3.1416;

       IF(BB05 30ANDAA05 REF(AA05,1),AA05,DRAWNULL),LINETHICK3,COLORRED;

       DRAWTEXT(REF(C,1) D1ANDC D1ANDD1 REF(D1,1),H*1.02,'←卖'),COLORGREEN;

       DRAWTEXT(REF(C,1) D1ANDC D1ANDD1 REF(D1,1),L*0.98,'←买'),COLORRED;




    通达信基本面顶底主图指标公式截图

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信基本面顶底主图指标公式 加入收藏