Plugin causes Amibroker to crash

Hi

I am working on a C++ plugin. When I scroll the cursor of the 1min chart too much to the left, the Amibroker window just vanishes. The 1Hour chart has no problem. I assume that the repeated function calls to the plugin cause the problem.

Is there anything I can check, like a log file?

I thought of C++ memory leaks, but I am not using any NEW/DELETE commands in C++.

It was an "index out of range" issue. I fixed it.