X_1:=AMOUNT/VOL/7; X_2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7; X_3:=SUM(AMOUNT,10)/X_1/7; X_4:=DMA(X_2,VOL/X_3); X_5:=(CLOSE-X_4)/X_4*100; XG:CROSS(X_2,X_4);