最新公告
  • 欢迎您光临九毛八公式指标网www.9m8.cn,本站全新改版试运行,期间内容全部免费,欢迎下载!欢迎加入本站VIP
  • 通达信涨跌停板颜色主图源码 大智慧同花顺全部通用

    正文概述    2024-04-13 13:28:14  

    早几年前就开始使用这个原理了,100%包满意,大智慧、通达信、同花顺,全部通用。

    作者圣虎战狼老师

    {第4部分(一) :涨跌停颜色}
    FUDU:=IF(INBLOCK('科创板') OR INBLOCK('创业板'),0.2,IF(INBLOCK('ST板块'),0.05,0.1));
    ZHANGTING:=REF(CLOSE,1)*(1+FUDU);
    DIETING:=REF(CLOSE,1)*(1-FUDU);
    涨停:=IF(FRACPART(ZHANGTING*100) =0.45,(INTPART(ZHANGTING*100)+1)/100,INTPART(ZHANGTING*100)/100);
    跌停:=IF(FRACPART(DIETING*100) =0.45,(INTPART(DIETING*100)+1)/100,INTPART(DIETING*100)/100);
    ZHANGTING1:=REF(CLOSE,1)*1.1;
    DIETING1:=REF(CLOSE,1)*0.9;
    涨停1:=IF(FRACPART(ZHANGTING1*100) =0.45,(INTPART(ZHANGTING1*100)+1)/100,INTPART(ZHANGTING1*100)/100);
    跌停1:=IF(FRACPART(DIETING1*100) =0.45,(INTPART(DIETING1*100)+1)/100,INTPART(DIETING1*100)/100);
    STICKLINE(ISLASTBAR,CLOSE,IF(CLOSE OPEN,涨停,跌停),2.5,-1),COLORYELLOW;
    DRAWNUMBER(ISLASTBAR AND CLOSE OPEN,涨停,涨停),COLOR808080,DRAWABOVE;
    DRAWNUMBER(ISLASTBAR AND CLOSE OPEN,跌停,跌停),COLOR808080;
    {第4部分(二) :涨跌停颜}
    STICKLINE(PERIOD=5 AND CLOSE =涨停,CLOSE,OPEN,3.1,0),COLORYELLOW;
    STICKLINE(PERIOD=5 AND CLOSE =涨停,CLOSE,OPEN,1.5,0),COLORRED;
    STICKLINE(PERIOD=5 AND CLOSE =跌停,CLOSE,OPEN,3.1,0),COLORFFFF00;
    STICKLINE(PERIOD=5 AND CLOSE =跌停,CLOSE,OPEN,1.5,0),COLORFF0000;
    STICKLINE(PERIOD=5 AND CLOSE =涨停1 AND INBLOCK('创业板') AND DATE 1200823,CLOSE,OPEN,3.1,0),COLORYELLOW;
    STICKLINE(PERIOD=5 AND CLOSE =涨停1 AND INBLOCK('创业板') AND DATE 1200823,CLOSE,OPEN,1.5,0),COLORRED;
    STICKLINE(PERIOD=5 AND CLOSE =跌停1 AND INBLOCK('创业板') AND DATE 1200823,CLOSE,OPEN,3.1,0),COLORYELLOW;
    STICKLINE(PERIOD=5 AND CLOSE =跌停1 AND INBLOCK('创业板') AND DATE 1200823,CLOSE,OPEN,1.2,0),COLOR00FF00;

    通达信涨跌停板颜色主图源码 大智慧同花顺全部通用

    通达信涨跌停板颜色主图源码 大智慧同花顺全部通用

    九毛八公式指标,一个优质的公式指标平台!
    九毛八公式指标 » 通达信涨跌停板颜色主图源码 大智慧同花顺全部通用 加入收藏