最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信数字显示涨跌停K线天数新界面(主图)

    正文概述    2024-04-14 15:02:54  

    {数字显示涨跌停K线天数}
    A1:=REF(C,1);
    涨停:=IF((C-A1)*100/A1>=(10-0.01*100/A1),1,0);
    跌停:=IF((A1-C)*100/A1>=(10-0.01*100/A1),1,0);
    涨停次数:=COUNT(涨停,BARSSINCE(涨停)+1);
    跌停次数:=COUNT(跌停,BARSSINCE(跌停)+1);
    DRAWNUMBER(涨停,HIGH*1.04,涨停次数),COLORYELLOW;
    DRAWNUMBER(跌停,HIGH*1.04,跌停次数),COLORCYAN;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.52,0.04,0,涨停次数),COLORYELLOW;
    DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.62,0.04,0,跌停次数),COLORCYAN;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.45,0.04,0,'上市以来共涨停:'),COLORYELLOW;
    DRAWTEXT_FIX(CURRBARSCOUNT=1,0.55,0.04,0,'上市以来共跌停:'),COLORCYAN;
    涨停K线:=IF((C-A1)*100/A1>=(10-0.01*100/A1),1,0);
    跌停K线:=IF((A1-C)*100/A1>=(10-0.01*100/A1),1,0);
    STICKLINE(涨停K线,OPEN,CLOSE,2.5,0),COLORYELLOW;
    STICKLINE(跌停K线,OPEN,CLOSE,2.5,0),COLORBLUE;


    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信数字显示涨跌停K线天数新界面(主图) 加入收藏