XA_1:=(CLOSE-LLV(LOW,32))/(HHV(HIGH,32)-LLV(LOW,32))*1.2*CLOSE;
XA_2:=SMA(XA_1,13,1);
XQC:SMA(XA_2,5.5,1.5),COLORCYAN;
XQD:3*XA_2-2*XQC,COLORYELLOW;
XQE:4*XQC-3*XA_2,COLORMAGENTA;
XA_3:=EMA(XA_1,3);
XA_4:=EMA(XA_1,5);
XA_5:=EMA(XA_1,7);
STICKLINE(XA_3>XA_4,XA_5,XA_3,2,1),COLORRED;
STICKLINE(XA_3<XA_4,XA_5,XA_3,2,1),COLORGREEN;
XA_6:=XA_4>XA_5 AND XA_3<REF(XA_3,1);
XA_7:=XA_4<XA_5 AND XA_3>REF(XA_3,1);
STICKLINE(XA_6,XA_3,XA_5,2,0),COLORRED;
STICKLINE(XA_7,XA_3,XA_5,2,0),COLORRED;
DRAWICON(CROSS(XA_3,XQD),XQD*0.80,34);
DRAWICON(CROSS(XA_6,XA_7),XQD*1.20,35);