So this should be included in the code and really points to better coding technique...?
Could you post the code i should add to fix this please..
I'm learning fast..

I'm trying to find an effective daily EA that averages around 10-20pips per day over the month and this is the only one that comes close. It uses a breakout hour bar with awesome osc. and is slow

but with good results on certain pairs. Needs allot more testing.!