XQA:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
XQB:=SMA(XQA,13,1);
XQC:=SMA(XQB,5.5,1.5);
XQD:3*XQB-2*XQC,colorred;
XQE:4*XQC-3*XQB,colorgreen;
L1:=EMA(XQA,3);
L2:=EMA(XQA,5);
L3:=EMA(XQA,7);
STICKLINE(L1>L2,L3,L1,8,1),colorred;
STICKLINE(L1<L2,L3,L1,8,1),colorgreen;
T1:=L2>L3 AND L1<REF(L1,1);
T2:=L2<L3 AND L1>REF(L1,1);
STICKLINE(T1,L1,L3,8,0),colorred;
STICKLINE(T2,L1,L3,8,0),colorgreen;