最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 大盘指数副图指标 用法 源码

    正文概述    2024-04-13 11:19:20  

    大盘指数副图指标 用法 源码

    用法:显示大盘涨跌幅度,同时对大盘的大阴大阳作标准。个股指数观察同步。自己平时用的

    源码

    指数:INDEXC,NODRAW;
    涨幅:((INDEXC/REF(INDEXC,1))-1)* 100, NODRAW,COLORYELLOW;%:DRAWNULL,COLORYELLOW;
    涨跌:INDEXC-REF(INDEXC,1), NODRAW;
    大盘:DRAWKLINE(INDEXH,INDEXO,INDEXL,INDEXC);
    MA1:MA(INDEXC,5),COLORWHITE,LINETHICK1;
    MA2:MA(INDEXC,90),COLORRED;
    MA3:MA(INDEXC,21)*1.02,COLORGREEN,LINETHICK1;
    MA4:MA(INDEXC,90),COLORYELLOW;
    ZT:=INDEXC REF(INDEXC,1)*1.02;
    DT:=INDEXC REF(INDEXC,1)*0.98 ;
    STICKLINE(ZT,INDEXC,INDEXO,3,0),COLORRED;
    STICKLINE(DT,INDEXC,INDEXO,4,0),COLORGREEN;
    BXX:10000000,NODRAW,COLOR000000;
    盘顶:HHV( 999999$AMOUNT /100000000,450),COLORWHITE,NODRAW;
    CXX:10000000,NODRAW,COLOR000000;
    盘日:HHV( 999999$AMOUNT /100000000,1),COLORYELLOW,NODRAW;
    DXX:10000000,NODRAW,COLOR000000;
    盘地:LLV( 999999$AMOUNT /100000000,250),COLORWHITE,NODRAW;
    STICKLINE(盘日=盘顶 AND BARSCOUNT(C) =250,INDEXC,INDEXO,4,0),COLORYELLOW;
    DRAWTEXT_FIX(ISLASTBAR,0.05,0,0,GNBLOCK);{在屏幕左上角显示所属概念板块};
    季:=IF(FINANCE(37)=4,'【年度】',IF(FINANCE(37)=3,'【三季】',IF(FINANCE(37)=2,'【二季】','【一季】')));
    收益:=IF(1,CON2STR(FINANCE(30)/FINANCE(1),3),'');

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 大盘指数副图指标 用法 源码 加入收藏