The Official RebateFX Forex Forum

Full Version: Howto: Metatrader 4 under LINUX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
There is a lot of interest out there in running Metatrader 4 on the Linux platform, however until Metaquotes does a native Linux version, the only option if you want to do it is to run it under WINE emulation.

What follows is a step by step guide to installing MT4 in Linux. I have used the excellent Ubuntu distribution for this task.

1) Install WINE if it's not already installed. I used version 0.9.33. Please refer to The Ubuntu Wiki for advanced WINE setup instructions.

2) From a valid windows installation, copy over all the fonts into your wine installation. It assumes you told Ubuntu to mount your windows partition in /windows.

Code:
cp /windows/WINDOWS/Fonts/* ~/.wine/c/windows/fonts/

3) Copy 2 needed DLL files from your valid windows installation.
Code:
cp /windows/WINDOWS/system32/mfc4* ~/.wine/c/windows/system32/

cp /windows/WINDOWS/system32/msvcp60.dll ~/.wine/drive_c/windows/system32/

4) Download mt4setup from FXOpen

5) Install MT4.

Code:
wine mt4setup.exe

6) You should now have an icon on your Desktop and a working install of MT4 under Linux!

* Please note, in order to set a limit/stop order without an invalid parameters error you need just to remove the expiry (Uncheck the box under the entry price).

[Image: MT4Linux.png]
Thanks jafar.. was looking for this.. i will tell my brother.. i don't know much about linux.. but my window keeps crashing down.. will it work well with EA?
antone Wrote:Thanks jafar.. was looking for this.. i will tell my brother.. i don't know much about linux.. but my window keeps crashing down.. will it work well with EA?

Linux is not to hard to use these days. It's just a little different to windows. Like falling off a bike with wonky wheels, then getting on a different bike that gives you a smoother ride.

EAs all work fine in MT4 under Linux. I've been using it live for nearly 2 years now without any trouble. I only hope MT5 runs under emulation too Big Grin
Hello jafar,
I've been stalking you all over the net, you're the man, thanks for all the great info on this subject.
I hope that you can help me with some questions.

As you can see by the photo below I'm missing some symbols on my MT4 (Loaded on my EEE PC with Xandros). Initially I was satisfied with the install because manual trading works fine but today another issued cropped up.

I tried to use a custom script and it just doesn't work. (there are missing symbols on the script as well as Navigator and tool bar...)

I'm curious if the problem may be coming up because of the way I loaded my fonts in wine. When I installed wine I found that the fonts folder in drive c was empty. So I simply deleted the folder and pasted in my entire fonts folder from vista in its place.

So the path is wine-drive c-windows and then paste fonts. Could this be my problem?

I also notice then when I right click on the folder there are misc settings for permissions etc... Is there something I might need to do there?

Any help would be sincerely appreciated!!

Thank You[attachment=120][attachment=120][attachment=120][attachment=120][attachment=120][attachment=120][attachment=120]
I see what you mean DaTrader.
First, you rock for installing MT4 on the eeepc Smile
Next I think it could be a permissions thing. Do you know your way around a terminal?
The command you need after you switch to your fonts directory is
Code:
chown -R user:user *
Replace "user" with your username. This will own all of the fonts and any subfolders to you.
If that doesn't work, it may be something to do with the vista fonts. I have a rather large file that may help that I can link you to if you send me an email.
I don't know if it can be Xandros's fault since it's also Debian based, but keep me informed if you solve the problem and post the solution that worked here.
I will not face any problem in this program because it is very easy and clear and does not need any clarification from the rest of other programmes and this is what distinguishes the company
RebateFX Wrote:
antone Wrote:Thanks jafar.. was looking for this.. i will tell my brother.. i don't know much about linux.. but my window keeps crashing down.. will it work well with EA?

Linux is not to hard to use these days. It's just a little different to windows. Like falling off a bike with wonky wheels, then getting on a different bike that gives you a smoother ride.

EAs all work fine in MT4 under Linux. I've been using it live for nearly 2 years now without any trouble. I only hope MT5 runs under emulation too Big Grin

Well, i guess it must work fine under emulation using WINE (Windows Emulator). The latest versions of wine support execution of many softwares...
Hi

I've just installed MT4 on my eeePC 4G. Most features work fine, including strategy tester. Thanks a lot for the wonderful guide. However, when I try to launch MetaEditor, it crashes with the exception C0000005. I have no idea what it is. Does anyone have the same problem? Any solution? I would really love to be able to use MetaEditor on my eeePC. Any help is greatly appreciated. Tks in advance.
forexatom Wrote:Hi

I've just installed MT4 on my eeePC 4G. Most features work fine, including strategy tester. Thanks a lot for the wonderful guide. However, when I try to launch MetaEditor, it crashes with the exception C0000005. I have no idea what it is. Does anyone have the same problem? Any solution? I would really love to be able to use MetaEditor on my eeePC. Any help is greatly appreciated. Tks in advance.

I may be wrong, but that may have something to do with it not being able to access elements of IE. Try http://www.tatanka.com.br/ies4linux/page/Main_Page to install IE (don't bother using it to browse Tongue) for linux and see if that makes a difference.
I finally got it working :-D

I installed IEs4Linux, but the same problem occurred. So I decided to uninstall and reinstall wine and MT4. Then, when I start MetaEditor and was prompted to install Gecko, I decided to click 'Cancel' (probably out of frustration) instead of 'Install' and to my utmost surprise, MetaEditor DID NOT CRASH!!!!!!! Yeah! Finally MetaEditor worked on my eeePC... and I was able to compile my EAs....
Pages: 1 2 3 4
Reference URL's