MV5:=IF(BARSCOUNT(CLOSE)<5 MA(V,BARSCOUNT(CLOSE)),MA(V,5));MV13:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,13));MV21:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,21));MV34:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,34));MV55:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,55));MV89:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,89));MV144:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,144));MV233:=IF(BARSCOUNT(CLOSE) MA(V,BARSCOUNT(CLOSE)),MA(V,233));GL1:=IF(>MV5*2,1,0);GL2: