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

{}

流通A股:=FINONE(239,0,0);{已上市流通A股(最新的财报)}

自由流通股:=FINONE(266,0,0);{自由流通股(最新的财报)}

流通Z:FINONE(266,0,0)/100000000;{亿股}

换手Z:DYNAINFO(8)*100/自由流通股*100,NODRAW;

衰减系数:流通A股/自由流通股=(1),NODRAW;

{DRAWTEXT_FIX(ISLASTBAR,0.4,0.2,0,STRCAT(STRCAT('流通Z:',CON2STR(流通Z,2)),'亿股')),COLORWHITE;}

{DRAWTEXT_FIX(ISLASTBAR,0.4,0.4,0,STRCAT(STRCAT('换手Z:',CON2STR(换手Z,2)),'%')),COLORWHITE;}

{DRAWTEXT_FIX(ISLASTBAR,0.4,0.6,0,STRCAT('历史换手衰减系数:',CON2STR(衰减系数,2))),COLORYELLOW;}

DRAWTEXT_FIX(ISLASTBAR,0.4,0.4,0,STRCAT('',CON2STR(衰减系数,2))),COLORYELLOW;

{}

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

DRAWTEXT_FIX(01,0.20,0.10.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.20.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.30.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.50.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.60.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.40.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.70.0,0,CJL),COLOR0099FF;

DRAWTEXT_FIX(01,0.20,0.80.0,0,CJL),COLOR0099FF;

DRAWGBK(CJL AND 衰减系数 , RGB(50,60,250),RGB(17,21,89),0,'11',0);

LC:=REF(CLOSE,1);

WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),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));

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