M13:=EMA(CLOSE,13);
M34:=EMA(M13,34);
VAR1:=EMA(M34,55);
VAR2:=(REF(HIGH,1)+REF(LOW,1))/2;
A7:=(2*C+H+L)/4;
SK:=EMA((A7-VAR1)/(VAR2-VAR1)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
买进2:IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>6/10 AND vol>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120),1,0);