DX1:=100*EMA(EMA(MTM,N),N)/EMA(EMA(ABS(MTM),N),N); 买1:IF(LLV(DX1,2)=LLV(DX1,7) AND COUNT(DX1 0,2) AND CROSS(DX1,MA(DX1,2)),1,0);