N:=2;LC:=REF(CLOSE,1);VAR1:=(MAX(MAX(HIGH-LOW,A(HIGH-LC)),ABS(LOW-LC)),14,1);VAR2:=HIGH-REF(HIGH,1);VAR3:=REF(LOW,1)-LOW;VAR4:=SMA(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),12,1);VAR5:=SMA(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),12,1);VAR6:=VAR4*100/VAR1;VAR7:=VAR5*100/VAR1;VAR8:=SMA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,12,1);VAR9:=(VAR8+REF(VAR8,5))/2;VARC:=AMOUNT//100;VARD:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;VARE:=SUM(AMOUNT,5)/VARC/100;VARF:=SUM(AMOUNT,13)/VARC/100;VAR10:=SUM(AMOUNT,34)/VARC/100;VAR11:=SUM(AMOUNT,209)/VARC