ZG:=SMA(MAX(C-REF(C,1),0),5,1)/SMA(ABS(C-REF(C,1)),5,1)*1000;
ZG1:=ZG-LLV(ZG,10);
ZG2:=(MA(ZG1,2)*3+ZG1*13)/16;
ZG3:=IF(ZG2>13,MA(ZG2,2),ZG2)/6;
ZG4:=CROSS(ZG3,1) AND (ZG3<30);
ZG5:=REF(COUNT(C<O,6)<6,1) AND REF(O/C<1.07,8) AND REF(O/C<1.07,1) AND REF(O/C<1.07,13);
ZG6:=REF(REF(C,1)/C<1.07,3) AND REF(O/C<1.05,9)AND REF(C<O OR C>O,3) AND H/C<1.015;
换手率:=100*VOL/CAPITAL;ZG7:=REF(C<O OR C>O,4) AND REF(C<O OR C>O,5);
ZG8:=IF((C-MIN(REF(C,2)*0.865,REF(C,13)*0.772))/C<0.1 AND SUM(换手率,5)/5<1.8,10, 0);
ZG9:=REF(ZG8,1) AND C>O AND REF(C<O,1)AND REF(O/C<1.07,7) AND C/REF(C,1)>1.01;
ZG12:=REF(EVERY(OPEN>CLOSE,3),1) AND C>MA(C,5) AND C>MA(C,10) AND REF(O/C>1.05,1)
AND C>MA(C,20) AND REF(C<MA(C,5) AND C<MA(C,10) AND C<MA(C,20),1) AND REF(C=O,20);
换手率抄底:=(ZG4 AND ZG9 AND MACD.MACD>REF(MACD.MACD,1) AND ZG7 AND ZG6 AND ZG5)OR ZG12 ,COLORLIRED;
STICKLINE(换手率抄底,-10,0,2,0),COLORLIRED;
DRAWTEXT(换手率抄底,-5,'换手率抄底');