A7:=(2*C+H+L)/4;
底:=LLV(A7,21);
顶:=HHV(A7,21);
SK:=EMA((A7-底)/(顶-底)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
买进:IF(COUNT(CLOSE6/10 AND vol>=1.5*MA(VOL,5) AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
A7:=(2*C+H+L)/4;
底:=LLV(A7,21);
顶:=HHV(A7,21);
SK:=EMA((A7-底)/(顶-底)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
买进:IF(COUNT(CLOSE6/10 AND vol>=1.5*MA(VOL,5) AND COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0);