Skip to content

Using plugin on Linux and MacOS

Mikhail Fursov edited this page Jan 11, 2017 · 1 revision
  • Install MT4 terminal. To do it correctly
  • Install Wine (version 1.9.23 or newer)
  • Install winetricks: winetricks winhttp
  • Make you native 8-bit locale available: sudo dpkg-reconfigure locales. Locale example: ru_RU.cp1251
  • Check that MT4 terminal runs correctly: LC_ALL=ru_RU.cp1251 wine terminal.exe
  • Run IDE and select any .mq4 file. Check that you can see syntax highlighting.

  • Click Run -> Edit Configuration -> '+' -> 'MQL4 Build'

  • For 'File': select your .mq4 file

  • For 'SDK': select MT4 terminal installation folder. Usually terminal is installed to $(HOME)/.wine/drive_c/Program Files (x86)/

  • For 'Build Dir' select MQL4/Experts inside you terminal installation dir. During build process your .mq4 file will be copied and build in this dir.

  • For encoding select your native 8-bit encoding. The same you used during terminal installation & testing.

  • Once you have no build configuration errors click 'Run' and check for compilation output.

Clone this wiki locally