TYP:=(H+L+C)/3;
CCI:(TYP-MA(TYP,84))/(0.015*AVEDEV(TYP,84)),COLORCC0099,LINETHICK2;
100,DOTLINE,COLORWHITE;
K:=CCI=HHV(CCI,60);{60日高量划线}
ANB:=IF(K,CCI,0);
DRAWLINE(ANB,CCI,REF(ANB,1),REF(CCI,1),1),DOTLINE,COLORGREEN;
DRAWICON(FILTER(CROSS(CCI,100),60),98,7);
股东占流通比:100*FINVALUE(244)/FINVALUE(239),NODRAW;
历史衰退系数:100/(100-股东占流通比),NODRAW;
{板块排名 公式平台,公式源码www.Gspt.com}
TAX:=HORCALC(HYBLOCK,105,1,DRAWNULL);
TAA:=STRCAT(HYBLOCK,' 排名 :');
DRAWTEXT_FIX(ISLASTBAR,0.70,0.005,0,STRCAT(TAA,CON2STR(TAX,0)));