LCZ:=REF(CLOSE,1);

WRSI:=SMA(MAX(CLOSE-LCZ,0),5,1)/SMA(ABS(CLOSE-LCZ),5,1)*100;

WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;

活跃:=(WRSI-WR10);

活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2))>=95;

DRAWTEXT_FIX(1,0.20,0.25,1,STRCAT(STRCAT('活跃:',CON2STR(活跃度比,2)),'%')),COLORCYAN;

DRAWTEXT_FIX(1,0.073,0,0,HYBLOCK),COLORRED; {行业}

CJL:=IF(DYNAINFO(10)>99999999,STRCAT(CON2STR(DYNAINFO(10)/100000000,2)<10,'亿'),STRCAT(CON2STR(DYNAINFO(10)/10000,0),'万'));

DRAWTEXT_FIX(01,0.75,0.01.0,0,CJL),COLOR0099FF;

多:=EMA(C,3);

空:=EMA(C,5);

均衡:=EMA(空,5);

VARF1:=COUNT(CROSS(多,均衡),2)=1;

VARF2:=COUNT(CROSS(空,均衡),2)=1;

ZAI:=FILTER(VARF1 AND VARF2,2) AND TIME<=0933 ;

DRAWTEXT(ZAI,均衡,'追涨');

追涨:ZAI;