Your error is here:
int OnInit() { SetIndexBuffer(0, buys, INDICATOR_DATA); SetIndexBuffer(0, sells, INDICATOR_DATA); SetIndexBuffer(0, closes, INDICATOR_DATA);
Vladimir Karputov:
Yes, but shouldn't the debugger be terminating the progam, rather than carrying on and crashing the editor?
Your error is here:
Nelson:
Yes, but shouldn't the debugger be terminating the progam, rather than carrying on and crashing the editor?
Yes it should. It's an unpleasant bug present since several months.
Yes, but shouldn't the debugger be terminating the progam, rather than carrying on and crashing the editor?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello!
This indicator has an invalid array access which should normaly cause an 'Array out of range error', the force terminate the program. However, running the indicator in the debugger using the editor history button crashes my editor. I've tried several times, the issue persists. Someone please confirm this on the platform they're using. I'm running on windows 10 version 19043 x64 intel processor, editor version 2981.