How To Fix Access Violation error (Windows)

What is this error?

This is a rare error message that will show up in your "Experts" tab on mt5. This error affects a very small amount of users (usually only Windows 11 users). Typically this error happens because of one or more of these reasons:

  • You are using a special version of MT5 not the official one

  • Your Windows is not fully up to date

  • Your latest version of MT5 is bugged and you need to rollback to a previous version

Make sure your windows is updated to the most recent version:

If you are on Windows 11 that is not version 22621 and above you will need to update your Windows. Please make sure your Windows version is up to date.

Make sure you are using the official MT5 and not a special version:

The indicator can have issues when using a special MT5 version from a 3rd party. We recommend using the official version which you can download here

Rollback your MT5 version:

If you are on the latest version of Windows and you are using the official version of MT5 and you are still having this error, below is a video walkthrough on how fix this. Below the video are also written steps on how to perform this fix if you prefer written steps.

Step 1:

  • Close out of any MetaTrader windows

  • Download the attached zip folder called “MT5 Version fix” and unzip it

  • Also download the “TradingLabIndicator mac” files inside of the 🚀private-indicator channel within the discord. Unzip this folder as well

Step 2:

  • Navigate to “C:\Program Files\MetaTrader 5”

  • Paste the MT5 3550 .exe files into this folder and overwrite the current .exe files

Step 3:

  • Now open MT5, go to Help->About and make sure your MT5 version says “3550”

Step 4:

  • Go to "File->open data folder" inside of MT5

  • Copy the "IndicatorCustomFunctions.dll" file to MQL5->Libraries

  • Copy the "tradinglab.ex5" file to MQL5->Indicators

Step 5:

  • Go back into the mt5 window and find the "indicators" tab in the navigation page on the left. Right click and press "refresh"

Step 6:

  • Go to Tools->options. Then inside of the "options" menu go to the "Expert Advisors" tab. Make sure "Allow DLL imports" is checked here in this tab

Step 7:

  • Drag the indicator file onto the chart. Make sure "Allow DLL imports" is checked in the indicator dependency settings

  • Then input your email into the indicator settings email input

Step 8:

  • The indicator should now be on your chart. If you do not see it, go to the "Experts" tab in the bottom of your screen and see if there is a error message there.

Step 9:

  • Hopefully the indicator is now working for you. Whenever you restart MT5 going forward it's going to ask you to make changes to your device. Make sure you press “No” on this screen. Pressing “No” will prevent MT5 from updating to the latest version. If you accidentally press yes, you will have to redo steps 1 to 7.

  • Anytime MT5 asks you to restart for an update please make sure you press “Later” otherwise MT5 will auto update and restart and you will have to redo steps 1 to 7

You're Done!

  • If you would like to clean up your chart, follow this guide.

  • If you would like to add crypto or stocks to Meta Trader 5, follow this guide.

Enjoy the indicator :)

Last updated