The code doesn't seem very optimal. There are so many calls to iCustom() (iCustom is very slow) and also so many unnecessary calculations. e.g. *point should be done in init(), not in functions that are called on every single received tick (e.g. start()).
I haven't tried backtesting this yet, but someone earlier in the thread said it's extremely slow, and just by looking at the code it's obvious why.
Rewriting the code to minimize calculations and avoiding the use of iCustom() would make backtesting and optimization much faster.
Also, in case you didn't know, the "Sniper" indicator itself calls iCustom() 6 times (for SHMA).