公式有DYNAINFO(60);沪深总上涨家数DYNAINFO(61);沪深总下跌家数,不是未来。
源码
BYX:WMA(CLOSE,8),COLORYELLOW,LINETHICK3;
IF(BYX>REF(BYX,1),BYX,DRAWNULL),COLORYELLOW,LINETHICK3;
IF(BYX<REF(BYX,1),BYX,DRAWNULL),LINETHICK3;
气温:=DYNAINFO(60)/(DYNAINFO(60)+DYNAINFO(61))*100;
量能饱和度:=380-((DYNAINFO(60)/(DYNAINFO(61)+DYNAINFO(60))*100)*3);
DRAWRECTREL(997,80,984,380,RGB(30,30,30)),COLORWHITE;
DRAWRECTREL(997,量能饱和度,984,380,RGB(255,0,0));
DRAWTEXT_FIX(1483,0,0,0,STRCAT(STRCAT('大盘今天人气:',CON2STR(气温,2)),'%')),COLORRED;