ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}
ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}
主力控盘:=INTPART(ZZLKP),COLORRED;
轴:=40,COLORWHITE,LINETHICK1;
箱顶:=MA(REF(HHV(C,30),1),2);
高度控盘:crOSS(主力控盘,轴) AND C>=箱顶;