Access Violation Error Possible Cause
Priority is not a fix.
First is to check that all your allocations succeed and stop if they don't. Fix your broken code.
The second is to fix your memory leaks.
Your topic has been moved to the section: Expert Advisors and Automated Trading
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
Please consider which section is most appropriate — https://www.mql5.com/en/forum/172166/page6#comment_49114893
The cause of this error in my case was no available RAM in my PC as it was full up and MQL5 had crashed due to this? A possible fix would be to set meta trader to the highest priority on your operating system