I have the following problem: I have developed an indicator which I deployed as compiled assembly to a friend in order to let him testing it. It happens - sometimes - that after the indicator is loaded onto a chart the platform crashes (i.e. it closes without any dialogs, any message, etc.). Note that it does not crash immediately, tipically the crashes occurrs in average after at least 30 minutes. The issue here is that the crash occurs only when my indicator is on a chart and I could not find neither in the trace nor in the log files any information about possible errors. In addition, on my side, I have never seen the platform crashing while the indicator is on (both in release and debug modes).
I give here some more details:
- for the indicator development: I have implemented it within a file under Indicator folder. It uses 3 classes developed within 3 other files located under "AddOns"; when deploying the indicator as compiled assembly I select all the 4 files for the export phase
- the indicator is a kind of volume profile, so it works updating internal data structures at a frequency which depends on the onMarketData event. All the rendering is done within the OnRender method.
- the indicator that I deploy is a zip file which is then imported as "Ninjascript Add on"
My questions are:
1) Is there any mechanism I can use to make sure that my indicator in case of internal crash does not result in a platform crash?
2) Is there any kind of advanced tracing which I can use in order to understand which piece of code is causing the crash?
Please let me know if you need some more information
Thank you so much in advance for your help
Cheers

Comment