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;{//筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZN:=BARSLAST(ZSHTL<90>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(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSH