XA_1:=MA(((AMOUNT / VOL) / 100),(VOL / CAPITAL));
XA_3:=BARSCOUNT(CLOSE);
XA_4:=(SMA((CLOSE / HHV(HIGH,120)),3,1) * 100);
XA_5:=IF((XA_3 > 20),XA_4,0);
XA_6:=IF((LOW > XA_2),0,IF((HIGH < XA_2),1,(((XA_2 - LOW) + 0.009) / ((HIGH - LOW) + 0.009))));
XA_7:=(DMA(XA_6,(VOL / CAPITAL)) * 100);
XA_8:=IF((XA_1 > XA_2),(100 - XA_7),XA_7);
XA_9:=IF((((XA_7 > 0) AND (XA_7 > REF(XA_7,1))) AND (XA_5 <= 88)),XA_7,0);
STICKLINE((XA_9 > 0),0,XA_9,5,0),COLORFF00FF;
XA_A1:IF(((CROSS(XA_9,0.009) AND (OPEN && LOW)) AND (CLOSE && LOW)),20,0),COLORFF00FF;
XA_A3:XA_9,LINETHICK2,COLOR00FFFF;