If you want goto premakro to run when ticker>=150, perhaps you need to reframe that part with the else....endif

I wouldn't mind looking over the code if you want.