Guide you how to run MQL4-based programs on the WEB browser

Guide you how to run MQL4-based programs on the WEB browser

# Expert Advisor Tutorial ~ Guide you how to run MQL4-based programs on the WEB browser

Fintechee implemented a solution to convert MQL4-based programs to WebAssembly that can run on the WEB browser, and Fintechee implemented plugins to import WebAssembly into the WEB browser. This expert advisor tutorial guides you how to do.

First of all, you need to re-define your programs' data structure.

MQL4-based programs' syntax is similar to C++, but Fintechee has our special data structure to load EAs(expert advisor) and indicators, and it's Javascript-based. So, we need to convert the head part of the existing MQL4-based source codes to make them loadable.

Please follow the tutorial video below to re-define the structure.

Re-define the data structure of your MQL4 programs

The tool that the video mentioned can be accessed by this link: https://www.fintechee.com/compatible-with-mql/

After you re-define the data structure, you need to merge the generated head part with your old source codes and compile it.

Please follow the tutorial video below to compile your new source codes.

Compile your MQL4-based programs to generate WebAssembly

From the video, you can learn how to import and how to use the WebAssembly generated as well.

If the compilation is not done successfully, you need to check the video below to troubleshoot it.

Troubleshoot for errors

By the way, we will use neural networks, genetic algorithms on our trading. Please feel free to track our trading records.

Read More