T3:=crOSS(EMA(C,19),EMA(C,7));
T4:=CROSS(EMA(C,7),EMA(C,19));
Z1:=L=LLV(L,BArslAST(T3)+1);
Z2:=LLV(L,BARSLAST(T3)+1);
Z3:=H=HHV(H,BARSLAST(T4)+1);
Z4:=HHV(H,BARSLAST(T4)+1);
TA:=DRAWLINE(Z1,Z2,Z3,Z4,0);
Y1:=H=HHV(H,BARSLAST(T4)+1);
Y2:=HHV(H,BARSLAST(T4)+1);
Y3:=L=LLV(L,BARSLAST(T3)+1);
Y4:=LLV(L,BARSLAST(T3)+1);
TB:=DRAWLINE(Y1,Y2,Y3,Y4,0);
TJ:=IF(TB<REF(TB,1) AND TB=TA,1,0);
T:REF(TJ,1)=0 AND TJ>=1;