Problems with ADO Library inside Indicators

 

Hello, people,

It's just me, or exit others that are facing problems using ADO library inside Indicators ?
I'm having problems like exception error, invalid memory read, and frozen of the terminal when use it inside a indicator.

When I used it inside a script, I'm not having any problem, even when opening and closing a connection thousands of times in loop. It works as should be.
I have an EA that saves the rates into a database that also works fine.

The problem appears inside indicators. The funny thing is that it only happens occasionally, the worse kind of bug.
I have already noticed that it happens more frequently when I change the symbol/period of the chart where the indicator is running.

If you are facing the same problem, please share you experience.

Thanks

Reason: