XA_1:=MA(AMOUNT,13);
XA_2:=MA(VOL,13);
XA_3:=XA_1/XA_2/100;
XA_4:=(CLOSE-XA_3)/XA_3*100;
XA_5:=XA_4<0 AND VTY;
XA_6:=MACD.MACD>0;
XA_7:=MA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3);
XA_8:=MA(XA_7,3);
XA_9:=3*XA_7-2*XA_8;
XA_10:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100;
XA_11:=(XA_10/2+22)*1;
XA_12:=IF(XA_5 AND XA_10<XA_11-2,28,0);
XA_13:=CROSS(CLOSE,REF(MA(DMA((HIGH+LOW+CLOSE*2)/4.15,0.9),3),1)) AND XA_9<55 AND XA_6;
(XA_12 AND XA_13)*20;