Ubuntu 11.10 Oneiric Ocelot and MT5

I managed to install MetaTrader 5 under Ubuntu 11.10 (Oneiric Ocelot) using standard repositories. I got a strange error while installing but after VM restart MT5 runs smoothly.






I will update the step-by-step description after another install on fresh setup.

Moving Mini-Max: a New Indicator for Technical Analysis and Its Implementation in MQL5

I recently wrote an article on MQL5 implementation of a new indicator for technical analysis by Z.K. Silagadze. You may find it interesting as it is based on quantum tunneling effect. Original paper can be found here. The article is available at http://www.mql5.com/en/articles/238

Fourth place isn't so bad?

Yes, in fact it is. 4th place sucks. I took part in "Best Graphic Panel of MQL5 language" contest and finished fourth. Anyway this post is worth having a look at. Why? Because I put there many ideas never seen anywhere else, you can download the source code at http://www.mql5.com/en/code/231

Main features of my panel:

- animated show&hide tabbed interface
- new controls designed by me: CChartObjectSpinner, CChartEditTable, CChartObjectListbox
- trading plan can be based on objects that are put on the chart: Fibo retracements, support lines, Pivots
- realtime Pivot module for all timeframes
- realtime 2D table of MTF indicator values

Demos:

http://www.youtube.com/watch?v=1qz8Gb--Y68



http://www.youtube.com/watch?v=ztVCPwnrUlQ




http://www.youtube.com/watch?v=BDzjKK4ixzk



http://www.youtube.com/watch?v=Iv84l6eq6Rk



http://www.youtube.com/watch?v=rQeRAMMqkQ0

Better Linux compatibility with MetaTrader 5

I noticed that installing winetricks and then allfonts and gdiplus packages additional to wine 1.3.5 improves MetaTrader 5 look and feel.

Steps:

1) Install winetricks

http://wiki.winehq.org/winetricks

2) Install allfonts from winetricks

$ winetricks allfonts

3) Install gdiplus from winetricks

$ winetricks gdiplus

MetaTrader 5 on Ubuntu Linux 10.04

This tutorial will show how to install MetaTrader 5 from MetaQuotes on Ubuntu 10.04 Linux operating system. Hopefully this will make Linux users happy and finally enable using MT5 on Linux.

For a long time I have been trying to use standard Wine 1.2 provided with Ubuntu distribution. At first there were errors during installation, or no installation at all could be performed. Finally after some time this was fixed but still a message  'A debugger has been found' was shown after installation and terminal.exe was terminated.

The solution to install and run MetaTrader 5 in Ubuntu 10.04 is to use a non-standard Wine 1.3 packet from Launchpad PPA repository. In order to enable this repostory enter the following command:


inv@investeo:~/Pobrane$ sudo add-apt-repository ppa:ubuntu-wine/ppa
[sudo] password for inv:
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 883E8688397576B6C509DF495A9A06AEF9CB8DB0
gpg: zapytanie o klucz F9CB8DB0 z hkp serwera keyserver.ubuntu.com
gpg: klucz F9CB8DB0: zaimportowano klucz publiczny ,,Launchpad PPA for Ubuntu Wine Team''
gpg: Ogółem przetworzonych kluczy: 1
gpg: dołączono do zbioru: 1 (RSA: 1)


After the repository is added update the repositories list with:

inv@investeo:~/Pobrane$ sudo apt-get update


Next step is to install Wine 1.3. It will should remove older Wine 1.2 if it was already installed:

inv@investeo:~/Pobrane$ sudo apt-get install wine1.3
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Następujące pakiety zostały zainstalowane automatycznie i nie są już więcej wymagane:
libtasn1-3-dev libgpg-error-dev libgcrypt11-dev libgnutls-dev
Aby je usunąć należy użyć "apt-get autoremove".
Zostaną zainstalowane następujące dodatkowe pakiety:
ttf-symbol-replacement-wine1.3 wine1.3-gecko winetricks wisotool
Następujące pakiety zostaną USUNIĘTE:
ttf-symbol-replacement wine1.2 wine1.2-gecko
Zostaną zainstalowane następujące NOWE pakiety:
ttf-symbol-replacement-wine1.3 wine1.3 wine1.3-gecko winetricks wisotool
0 aktualizowanych, 5 nowo instalowanych, 3 usuwanych i 95 nieaktualizowanych.
Konieczne pobranie 19,8MB archiwów.
Po tej operacji zostanie dodatkowo użyte 12,9MB miejsca na dysku.
Kontynuować [T/n]? t
Pob: 1 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main ttf-symbol-replacement-wine1.3 1.3.3-0ubuntu1~lucidppa1 [40,1kB]
Pob: 2 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wine1.3 1.3.3-0ubuntu1~lucidppa1 [10,8MB]
Pob: 3 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wine1.3-gecko 1.1.0-0ubuntu1~lucidppa1 [8865kB]
Pob: 4 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main winetricks 0.0+20100917-0ubuntu1~lucidppa1 [49,4kB]
Pob: 5 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ lucid/main wisotool 0.0+20100731 [56,0kB]
Pobrano 19,8MB w 1min 41s (195kB/s)
Prekonfiguracja pakietów ...
(Odczytywanie bazy danych ... 216396 plików i katalogów obecnie zainstalowanych.)
Usuwanie ttf-symbol-replacement ...
Usuwanie wine1.2 ...
Usuwanie wine1.2-gecko ...
Przetwarzanie wyzwalaczy dla fontconfig...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
Przetwarzanie wyzwalaczy dla python-gmenu...
Rebuilding /usr/share/applications/desktop.pl_PL.utf8.cache...
Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place
Przetwarzanie wyzwalaczy dla python-support...
Zaznaczenie poprzednio niezaznaczonego pakietu ttf-symbol-replacement-wine1.3.
(Odczytywanie bazy danych ... 215270 plików i katalogów obecnie zainstalowanych.)
Rozpakowanie ttf-symbol-replacement-wine1.3 (z .../ttf-symbol-replacement-wine1.3_1.3.3-0ubuntu1~lucidppa1_all.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wine1.3.
Rozpakowanie wine1.3 (z .../wine1.3_1.3.3-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wine1.3-gecko.
Rozpakowanie wine1.3-gecko (z .../wine1.3-gecko_1.1.0-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu winetricks.
Rozpakowanie winetricks (z .../winetricks_0.0+20100917-0ubuntu1~lucidppa1_i386.deb) ...
Zaznaczenie poprzednio niezaznaczonego pakietu wisotool.
Rozpakowanie wisotool (z .../wisotool_0.0+20100731_i386.deb) ...
Przetwarzanie wyzwalaczy dla man-db...
Przetwarzanie wyzwalaczy dla desktop-file-utils...
Przetwarzanie wyzwalaczy dla python-gmenu...
Rebuilding /usr/share/applications/desktop.pl_PL.utf8.cache...
Przetwarzanie wyzwalaczy dla hicolor-icon-theme...
Przetwarzanie wyzwalaczy dla python-support...
Konfigurowanie ttf-symbol-replacement-wine1.3 (1.3.3-0ubuntu1~lucidppa1) ...
Konfigurowanie wine1.3 (1.3.3-0ubuntu1~lucidppa1) ...
procps stop/waiting
procps stop/waiting

Konfigurowanie wine1.3-gecko (1.1.0-0ubuntu1~lucidppa1) ...
Konfigurowanie winetricks (0.0+20100917-0ubuntu1~lucidppa1) ...
Konfigurowanie wisotool (0.0+20100731) ...
Przetwarzanie wyzwalaczy dla libc-bin...
ldconfig deferred processing now taking place


After that we should be equipped with fresh Wine 1.3 installation. You may check the version by executing wine --version command:


inv@investeo:~/Pobrane$ wine --version
wine-1.3.3


The next step is to download MetaTrader 5 installation binary:

http://files.metaquotes.net/metaquotes.software.corp/mt5/mt5setup.exe

and install MetaTrader 5 by entering wine mt5setup:

inv@investeo:~/Pobrane$ wine mt5setup

Installation is not much different than in Windows operating system:



After installation finished you can enter your credentials in order to sign up for a new account or enter your account details if you already have any.


You should get MetaTrader 5 up and running in a few minutes. You can enjoy trading, using indicators and expert advisors. For now there is still one problem with Strategy tester:



but I hope it will be soon resolved. The terminal itself and metaeditor do work properly:




I hope that my tutorial was useful. Enjoy!

MQL5 reference is available as PDF file

Enjoy:

MQL5 Reference

Public beta testing starts on 12. October!

On 12th October MetaTrader 5 and MQL5 will be released to the public for beta testing! 

Since there is only a week left I will add some more technical information about MetaTrader5 and MQL5 in the nearest future. Stay tuned!