RSV:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;K1:=SMA(RSV,3,1);D1:=SMA(K1,3,1);KK:=INTPART(K1);DD1:=INTPART(D1);TFXXS:=KK+DD1;{变异系数}TGLXS:=(TFXXS-REF(TFXXS,1));{变异KD系数:}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;{筹码系数}粉色:=ZZLKP>REF(ZZLKP,1) AND ZZLKP>20;红:=TGLXS>0 AND TGLXS>REF(TGLXS,1) AND 粉色;亮红:=ZZLKP>REF(ZZLKP,1) AND ZZLKP<20 ZZLKP<=REF(ZZLKP,1) ZZLKP<20;实体:=MAX(OPEN,CLOS