How to migrate MQL4 code Amibroker

I am from India. I have developed an Expert Adviser using MQL4 of Metatrader framework. I am very satisfied with the back testing result. As I have no trading background, I did not know initially that Metatrader is not allowed in India for Auto Trading.

Now I want to switch to Amobroker environment. I want to know whether I can rewrite / convert the logic of MQL4 easily to AFL. It is about 1300 lines of code in MQL4.

I request you to guide me or direct to the right person who can guide me to carry out te conversion.


Khagendra Nath Jana


@knj1959, Welcome to the forum.

If you have the ability to code the MQL4 code, then you should have the ability to convert it to AFL.

I would suggest that you take the time to understand that AFL uses array processing.

Here are a couple of links that you should review:

Otherwise you might want to look at the 3rd party services

Good Luck