通达信上涨下跌总家数公式_通达信副图指标公式通达信分时指标_量化交易

五盘分享源码 副图 通达信 贴图做T分时

沪A涨家数:="999999$ADVANCE",COLORRED,NODRAW;
深A涨家数:="399107$ADVANCE",COLORRED,NODRAW;
{股票指标网}
创业板涨家数:="399006$ADVANCE",COLORRED,NODRAW;
中小板涨家数:="399005$ADVANCE",COLORRED,NODRAW;
沪A跌家数:="999999$DECLINE",COLORGREEN,NODRAW;
深A跌家数:="399107$DECLINE",COLORGREEN,NODRAW;
创业板跌家数:="399006$DECLINE",COLORRED,NODRAW;
中小板跌家数:="399005$DECLINE",COLORRED,NODRAW;
上涨总家数:沪A涨家数+深A涨家数+创业板涨家数+中小板涨家数,COLORRED,NODRAW;
下跌总家数:沪A跌家数+深A跌家数+创业板跌家数+中小板跌家数,COLORGREEN,NODRAW;
上涨总家数比:=(沪A涨家数+深A涨家数+创业板涨家数+中小板涨家数)/
(沪A涨家数+深A涨家数+创业板涨家数+中小板涨家数+沪A跌家数+深A跌家数+创业板跌家数+中小板跌家数)*100;
下跌总家数比:=(沪A跌家数+深A跌家数+创业板跌家数+中小板跌家数)/
(沪A涨家数+深A涨家数+创业板涨家数+中小板涨家数+沪A跌家数+深A跌家数+创业板跌家数+中小板跌家数)*100;
AAA2:=STRCAT(STRCAT('上涨总家数比 ',CON2STR(上涨总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.7,0.06,0,AAA2),COLORRED;
AAA4:=STRCAT(STRCAT('下跌总家数比 ',CON2STR(下跌总家数比,0)),' %');
DRAWTEXT_FIX(ISLASTBAR,0.7,0.12,0,AAA4),COLORGREEN;

偷不到就抢通达信公式 源码 贴图