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(ZSHTL);
主力控盘系数:=INTPART(ZZLKP);
上指:crOSS(主力控盘系数,散户套牢系数);
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(ZSHTL);
主力控盘系数:=INTPART(ZZLKP);
上指:crOSS(主力控盘系数,散户套牢系数);