Discussion of article "MetaTrader 5 on Linux" - page 3

To add comments, please log in or register
Miftahul Munir
184
Miftahul Munir  

only windows who officially support running custom indicators and EA.

only c++ who officially support running custom indicators and EA.

unfortunately, my resource running low, and cheap arm device eks secondhand smartphone the only option for me.

create EA with whatever programming language, and running on low power low cost device is my dreams.

no, actually my dream is take high class rig pc and high class server pc, rent building for my EA, bad joke haha.

but now metatrader web based is on the way, beta version.

maybe 2 or 3 years later metatrader will open API, so everyone can build their own custom indicator and EA on their own language programming and device that can they purcase, or maybe 5 years later, be patien.

evertonbg
28
evertonbg  
For solving keyboard layout issues in MetaEditor, go to "System Settings... > Language Support > Language tab" and choose "none" in "Keyboard input method system:" dropdown list.
Nezar Mahir
131
Nezar Mahir  
Has anyone found a way to get mql5 market working on linux?
bucket
46
bucket  

On my Debian 8 System I installed MT4 and MT5. Both work quite good. MT4/5 do not run 100% perfect but most things work fine on my wine-1.9.19 installation. I pulled wine directly from WineHQ repositories.

In MT4 I can display the HTML news. In MT5 I can not read HTML news. The Window shows "Loading ...." and nothing happens. Saving and Printing news fails on MT5 too. I think the relevant error messages are:

p { margin-bottom: 2.47mm; line-height: 120%; }

fixme:ieframe:PersistStreamInit_InitNew (0x54e2d10)

fixme:ieframe:BrowserService_GetTravelLog 0xbb8cd48 0x33c358

fixme:mshtml:on_change_dlcontrol unsupported dlcontrol 40000510

fixme:ieframe:ClientSite_GetContainer (0x54e2ddc)->(0x33c32c)

fixme:mshtml:nsChannel_GetContentDisposition (0x1b9250)->(0x33bb88)

fixme:mshtml:nsChannel_GetContentDispositionHeader (0x1b9250)->(0x33b2dc)

fixme:ieframe:ClientSite_GetContainer (0x54e2ddc)->(0x33d0ec)

err:toolbar:ToolbarWindowProc unknown msg 0465 wp=00000000 lp=0033e1e8

fixme:ieframe:DocHostUIHandler_GetDropTarget (0x54e2ddc)

err:toolbar:ToolbarWindowProc unknown msg 0465 wp=00000000 lp=0033e828

fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005

fixme:ieframe:PropertyNotifySink_OnChanged unimplemented dispid 1005

fixme:ieframe:WebBrowser_Stop (0x54e2d10)

fixme:ieframe:PersistStreamInit_InitNew (0xd094928)

Anyone has an idea how to fix this?

Aecio de Feo Flora Neto
24805
Aecio de Feo Flora Neto  

Latest wine version (1.8) requires winhttp library in order to run  mt5setup.exe. Otherwise proxy settings dialoag box appears.

To solve this, download winetricks (latest version) and run:

winetricks winhttp

xlwarez
64
xlwarez  

Hi,

 

I have problems with MetaTester 5 in linux. All installation was well, MetaTester also launching and done few tasks, but it working just 10-20 minutes and close. And every time I launch MetaTester it after 10-20 minutes close. Can anyone help me fix it?

 

Testing envyroment:

I tried in Ubuntu 16.04 and Centos 6

1.8.6 wine versiom 

martinfou
5
martinfou  
Aecio de Feo Flora Neto:

Latest wine version (1.8) requires winhttp library in order to run  mt5setup.exe. Otherwise proxy settings dialoag box appears.

To solve this, download winetricks (latest version) and run:

winetricks winhttp


I was having the same problem with ubuntun xenial but winetricks winhttp did not work for me. 


My work around was the following

1) installing latest stable version of wine with 32bit architecture

yes Y | sudo apt-get update

echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections

yes Y | udo apt-get install ttf-mscorefonts-installer

yes Y | sudo apt-get install xauth

yes Y | sudo dpkg --add-architecture i386

wget -nc https://dl.winehq.org/wine-builds/Release.key

sudo apt-key add Release.key

sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

yes Y | sudo apt-get update

yes Y | sudo apt-get install --install-recommends winehq-stable

WINEPREFIX="$HOME/.wine" WINEARCH=win32 wine wineboot


2) Install metatrader 5 

cd /tmp

wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures; color: #cd7923} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #c33720}

wine /tmp/mt5setup.exe


p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff} span.s1 {font-variant-ligatures: no-common-ligatures; color: #cd7923} span.s2 {font-variant-ligatures: no-common-ligatures} span.s3 {font-variant-ligatures: no-common-ligatures; color: #c33720}
cheezus
8
cheezus  
Save yourself the insanity of trying to run the installer under Linux. Install it under a Windows VM and copy the directory to a Wine installation. It must be 64-bit, however.
Marco vd Heijden
Moderator
8831
Marco vd Heijden  

Some work out of the box, use those.

Marco vd Heijden
Moderator
8831
Marco vd Heijden  

Here is the current solution for the 32 Bit Terminal on 64 Bit Ubuntu.

sudo dpkg --add-architecture i386 
wget -nc https://dl.winehq.org/wine-builds/Release.key
sudo apt-key add Release.key
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
sudo apt-get update
sudo apt-get install --install-recommends winehq-staging
WINEARCH=win32 winecfg

After this you will be asked to install Mono and Gecko.

After this you select compatibility mode Windows 7 or later.

And then proceed to download the installer https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5setup.exe?utm_source=www.mql5.com&utm_campaign=en.0009.desktop.default

$ cd Downloads
$ wine mt5setup.exe

Which should install Metatrader 5 32 Bit.

To add comments, please log in or register