犀利哥的【犀利情绪线】,
高于3200普涨,低于720市场冷
ZDJS:=IF(CODELIKE('880005'), 1, 0);
SZZS:=IF(CODELIKE('999999'), 1, 0);
M5:IF(ZDJS=1 || SZZS=1,DRAWNULL,MA(C,5));
M10:IF(ZDJS=1 || SZZS=1,DRAWNULL,MA(C,10));
M20:IF(ZDJS=1 || SZZS=1,DRAWNULL,MA(C,20));
M60:IF(ZDJS=1 || SZZS=1,DRAWNULL,MA(C,60));
M120:IF(ZDJS=1 || SZZS=1,DRAWNULL,MA(C,120));
M250:IF(ZDJS=1 || SZZS=1, DRAWNULL,MA(C,250));
{涨跌家数880005 指标:情绪高低潮分割线}
COLD:DRAWSL(ZDJS=1,L1,0,1000,1), COLORWHITE;
HOT:DRAWSL(ZDJS=1,L2,0,1000,1), COLORWHITE;
上涨数:=DYNAINFO(60);
下跌数:=DYNAINFO(61);
涨跌比:=STRCAT(STRCAT(CON2STR(上涨数,0),':'),CON2STR(下跌数,0));
比例:=INTPART(上涨数/(上涨数+下跌数)*100);
涨跌情况:=STRCAT(STRCAT(STRCAT(涨跌比,'='),CON2STR(比例,0)),'%');
两市额:=DYNAINFO(62)/10000/10000;
MSG3:=STRCAT(STRCAT(STRCAT(涨跌情况,'_'),CON2STR(两市额,0)),'亿');
DRAWTEXT_FIX(ISLASTBAR 比例 =50,1,0.95,1,MSG3),COLORRED;
DRAWTEXT_FIX(ISLASTBAR 比例 50,1,0.95,1, MSG3),COLORGREEN;