Hi all
I could do with a bit of a favour.
I use this indicator on a daily basis to rapidly change time frames, but whenever there's any order management EA attached to the chart, MT4 freezes up for a few seconds.
Is there anything in this code that would cause MT4 to lock up if there's an EA attached?
I can happily blast through the time frames normally with the EA's attached to the chart without issue. It's definitely something to do with this code.
Any ideas would be great.
Cheers
I could do with a bit of a favour.

I use this indicator on a daily basis to rapidly change time frames, but whenever there's any order management EA attached to the chart, MT4 freezes up for a few seconds.
Is there anything in this code that would cause MT4 to lock up if there's an EA attached?
I can happily blast through the time frames normally with the EA's attached to the chart without issue. It's definitely something to do with this code.
Any ideas would be great.
Cheers
Attached File(s)