最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信个股与指数比对指标公式

    正文概述    2024-04-13 15:32:25  

    FP:=IF(INDEXC="999999$C",'上证',IF(INDEXC="399001$C",'深证', IF(INDEXC="399005$C",'中小板',IF(INDEXC="399006$C",'创业板',DRAWNULL))));
    DRAWTEXT_FIX(ISLASTBAR,0,0,0,FP),COLOR00ddfF;
    大盘指数:INDEXC,NODRAW;
    %:((INDEXC/REF(INDEXC,1))-1)*100,COLORMAGENTA,NODRAW;
    _±:(INDEXC-REF(INDEXC,1)),COLORCYAN,NODRAW;
    MA3:=EMA(INDEXC,3),COLORWHITE,LINETHICK1;
    MA5:MA(INDEXC,5),COLORWHITE,NODRAW;
    MA10:MA(INDEXC,10),COLORYELLOW,NODRAW;
    MA20:MA(INDEXC,20),COLORMAGENTA,NODRAW;
    MA60:MA(INDEXC,60),COLORGREEN,NODRAW;
    MA120:MA(INDEXC,120),COLORBLUE,NODRAW;
    MA250:MA(INDEXC,250),COLORA67D3D,NODRAW;
    DRAWBAND(MA3,RGB(245,15,204),MA5,RGB(20,150,20));
    DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
    额:INDEXA/100000000,COLORYELLOW,NODRAW;
    量:INDEXV/10000,COLORC0C0C0,NODRAW;
    涨家数:INDEXADV,COLORRED,NODRAW;
    跌家数:INDEXDEC,COLORGREEN,NODRAW;
    涨跌比:涨家数/(涨家数+跌家数)*100,,COLORWHITE,NODRAW;
    涨幅:(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*100,COLORYELLOW,NODRAW;
    DPDY:=INDEXC/REF(INDEXC,1)>1.02;{大盘黄k线是大盘涨幅》=2%,可根据需要自行调整}
    DPBD:=INDEXC/REF(INDEXC,1)<0.98;
    STICKLINE(DPDY,INDEXC,INDEXO,3,0),COLORYELLOW;
    STICKLINE(DPBD,INDEXC,INDEXO,3,0),COLORBLUE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信个股与指数比对指标公式 加入收藏