上涨家数:=INDEXADV,COLOR0080FF,NODRAW;
下跌家数:=INDEXDEC,COLORGREEN,NODRAW;
今日人气:=上涨家数/下跌家数;
YM:EMA(SLOPE((CLOSE+HIGH+LOW)/3,24)*20+(CLOSE+HIGH+LOW)/3,48),COLORRED,LINETHICK1;
YM1:=EMA(YM,5),COLORRED,LINETHICK1;
YM2:=EMA(YM1,5),COLORRED,LINETHICK1;
IF(YM>=YM2,YM,DRAWNULL),LINETHICK1,COLORRED;
IF(YM>=YM2,YM1,DRAWNULL),LINETHICK1,COLORRED;
IF(YM<=YM2,YM,DRAWNULL),LINETHICK1,COLORGREEN;
IF(YM<=YM2,YM1,DRAWNULL),LINETHICK1,COLORGREEN;