Function problems

 

Hi,

was using an indicator that is SERIOUSLY processor hungry...so I wanted to stream line it by taking all the code out of the start() function and placing them in custom functions...then just call the functions in the start() function...I code many simple EA's like this and it works great to make the EA light on processor power but for some reason this indy gives me errors.


Please can some one have a look and tell me what the problem is.

Thank you.

Files: