VARGDT1:=LLV(INDEXL,120); VARGDT2:=HHV(INDEXH,250); VARGDT3:=EMA((INDEXC-VARGDT1)/(VARGDT2-VARGDT1)*4,4); A1:=C-REF(C,1); K:=EMA(EMA(A1,5),5)/EMA(EMA(Abs(A1),5),5); XG:crOSS(0.2,VARGDT3) AND K>REF(K,1) AND K<0 AND REF(K,1)