VAR1:=AMOUNT//100;VAR2:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VAR3:=SUM(AMOUNT,3)/VAR1/100;VAR4:=SUM(AMOUNT,10)/VAR1/100;3:=DMA(VAR2,/VAR3);CYC10:=DMA(VAR2,VOL/VAR4);CYC10,COLORYELLOW;STICKLINE(CYC3>CYC10,CYC3,CYC10,6,0),COLORRED;STICKLINE(CYC3<=CYC10,CYC3,CYC10,6,0),COLORGREEN;