筹码集中度:=COST(10)/(COST(80)-COST(10));
筹码1:=EMA(筹码集中度,1)*10;
筹码3:=EMA(筹码集中度,3)*10;
控盘量:=WINNER(C*0.9)*100;
换手率:=VOL/CAPITAL*100;
上升线:=EMA(控盘量-换手率,5);
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZSHTL:=SHCM/(ZLCM+SHCM)*100;
套牢系数:=EMA(ZSHTL,3);
xg1:=筹码1>13;
xg2:=筹码3>13.12;
xg3:=套牢系数<8;
xg4:=上升线>50;
xg:xg1 and xg2 and xg3 and xg4;