SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
ZCMZL:=MA(ZLCM+SHCM,13);
ZZNTS:=BARSLAST(ZSHTL< 90 AND REF(ZSHTL,1)>90);
ZSHJJ:=EMA(ZSHTL,89);
ZZLJJ:=EMA(ZZLKP,89);
ZJLRQD:=INTPART(ZZLKP-ZZLJJ);
SH8:=EMA(ZSHTL,8);
DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);
{分析家公式网}
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,8,0),COLOR00BBBB;
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,6,0),COLOR00CCCC;
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,4,0),COLOR00DDDD;
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,2,0),COLOR00EEEE;
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,1,0),COLOR00FFFF;
STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,20,0.5,0),COLOR00FFFF;
STICKLINE(ZSHTL>=90,ZZLKP,0,8,0),COLORFF0011;
STICKLINE(ZSHTL>=90,ZZLKP,0,6,0),COLORFF0022;
STICKLINE(ZSHTL>=90,ZZLKP,0,4,0),COLORFF0033;
STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLORFF0044;
STICKLINE(ZSHTL>=90,ZZLKP,0,1,0),COLORFF0055;
STICKLINE(ZSHTL>=90,ZZLKP,0,0.5,0),COLORFF0066;
0;
散户套牢:INTPART(ZSHTL),COLORGREEN;
主力控盘:INTPART(ZZLKP),COLORRED;
市场筹码总量:=INTPART(ZCMZL);
轴:40,COLORWHITE,DOTLINE,LINETHICK1;
箱顶:=MA(REF(HHV(C,30),1),2);
DRAWTEXT(CROSS(主力控盘,轴) AND C>=箱顶,ZZLKP+5,'高度控盘'),COLORMAGENTA;