VAR1:=(3*C+O+H+L)/6; VAR2:=EMA(3*VAR1-2*SMA(VAR1,2,1),8); DRAWTEXT(C>=VAR2 AND REF(C,1)<REF(VAR2,1),l,'进'),CoLorRED; DRAWTEXT(C<VAR2 AND REF(C,1)>=REF(VAR2,1),h,'出'),CoLorYELLOW;