How to Convert MT4 Indicators to MT5
At the moment there is no one-click solution to convert an MT4 indicator to be used in the MT5 trading platform as an MT5 indicator, instead we need to follow some steps to achieve this. Many traders have accumulated a lot of indicators written in MQL4. To use these indicators in MT5, they need to convert them to MQL5 format. It's not so easy to rewrite all the indicators for MQL5 and it would be much easier to convert them.
The steps below will help you convert your indicators, you will need some knowledge of coding.
Step 1 - MetaTrader 4 Include Files
You have to download the following files and place them in your installation folder.
Download Include Files »
Step 2 - Add Rewrite Script
Place the rewrite script in your MetaTrader Scripts Folder
Download Script »
Step 3 - Add Your Indicator
Now put your MQL4 indicator that you wanna convert to MQL5 in your MetaTrader Files Folder.
Step 4 - Open the chart and execute the script
You will now see a window will open, type the exactly name (without extension) of your MQL4 file and select if it is an Indicator (0), EA (1) or Script (2) file.
Click OK to start the conversion.
Step 5 - View the conversion results
Go to the Files folder and see the conversion results, you should find your MQL5 file.
Now you just need to copy your new MQL5 file to the MT5 installation Indicator.
In the most of cases, you may get some errors when compiling, the link below has some important documentation to help you fix the errors. If you don't have any experience coding and you are stuck just contact an MT4 & MT5 developer.
If you need some help you could try posting on our support forum, we are cTrader Solution Provider, but we will do our best to help you.
Why Not Use cTrader?
The cTrader platform combines the speed of high performing trading platform with the deep liquidity of any broker.
it is perfect for day traders, scalpers and algorithmic traders. It is also a modern trading platform with a clean easy-to-use uncluttered interface for trading and charting.
Many traders are migrating from MT4 to the cTrader platform, we can also help you with this move by upgrading your favorite indicators.
More information »
Our Coding Service »
Algo Trading School
Join our algorithmic trading school and learn how to build your own automated trading robots using the cTrader platform and Microsoft C#.
Learn more »
Free cTrader Indicators
Browse our free indicators for the cTrader platform, the chances are that we already have the indicator you are trying to convert.
Learn more »
If you are having difficulties converting your MT4/5 indicator using the online tool, you can post on our support forum for help.
Learn more »