{上涨下跌总家数公式} 沪A涨家数:="999999$ADVANCE",COLORRED,NODRAW; 深A涨家数:="399107$ADVANCE",COLORRED,NODRAW; {分析家公式网www.fxjgsw.com} 创业板涨家数:="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; |
