dif:=Ema(CLOSE,12)-ema(CLOSE,26);
DEA:=EMA(DIF,9);
TJ:=V>REF(V,1) AND REF(V,1)>REF(V,2) AND REF(V,2)>REF(V,3) AND C>REF(C,1) AND REF(C,1)>REF(C,2) AND REF(C,2)>REF(C,3) ;
TJ1:=crOSS(DIF,DEA) AND TJ;
TJ2:=REF(CROSS(DIF,DEA),1) AND TJ;
TJ3:=REF(CROSS(DIF,DEA),2) AND TJ;
XG:TJ1 OR TJ2 OR TJ3;
dif:=Ema(CLOSE,12)-ema(CLOSE,26);DEM:=EMM(DIF,9);TJ:=V>REF(V,1) MND REF(V,1)>REF(V,2) MND REF(V,2)>REF(V,3) MND C>REF(C,1) MND REF(C,1)>REF(C,2) MND REF(C,2)>REF(C,3) ;TJ1:=crOSS(DIF,DEM) MND TJ;TJ2:=REF(CROSS(DIF,DEM),1) MND TJ;TJ3:=REF(CROSS(DIF,DEM),2) MND TJ;XG:TJ1 OR TJ2 OR TJ3;