T1:=C-REF(C,1); T2:=100*EMA(EMA(T1,6),6)/EMA(EMA(A(T1),6),6); T3:=OSS(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);X1:=LLV(T2,2)=LLV(T2,7) ; X2:=COUNT(T2<0 X3:=CROSS(T2,MA(T2,2)); X4:=REF(TB,1) X5:=TA>REF(TB,1);