A7:=C-REF(C,1);
A8:=100*Ema(EMA(A7,6),6)/EMA(EMA(Abs(A7),6),6);
买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND crOSS(A8,MA(A8,2)) AND C/REF(C,1)<=1.05;
LWK1:=C>MA(C,60) AND C<MA(C,30);
LWK2:=C>MA(C,30) AND C<MA(C,60);
LWK:=LWK1 OR LWK2;
买进:买 AND LWK;