What did I do wrong here?

 

Hi there i am still new to programming MQL4, I am useing an iCustom() function and it gets initialised in the beginning of my code.. now if it gets initialised, how do I deinitialise it without having to restart my EA...

I need to do this because everytime it loads (with each tick) it gets stored in memory and no matter how much memory you have this will eventiually run out and your stuck with the error:

Memory handler : cannot allocate 630892 bytes of memory

any ideas how to overcome this?

Thanks a bunch!

Reason: