Skip to content

MetaTrader 5 Install¤

MetaTrader 5 is exchange server of module MetaTrader

Ubuntu¤

Wine¤

wget https://download.mql5.com/cdn/web/metaquotes.software.corp/mt5/mt5ubuntu.sh ; chmod +x mt5ubuntu.sh ; ./mt5ubuntu.sh

Python¤

wget https://www.python.org/ftp/python/3.10.11/python-3.10.11.exe

export WINEPREFIX=$HOME/.mt5
wine python-3.10.11.exe

Python requirements¤

export WINEPREFIX=$HOME/.mt5

cd $HOME/.mt5/dosdevices/c:/users/$USER/AppData/Local/Programs/Python/Python310-32/

wine python.exe -m pip install --upgrade pip
wine python.exe -m pip install MetaTrader5
wine python.exe -m pip install 'numpy<1.27'
wine python.exe -m pip install https://github.com/AwesomeTrading/mt5linux/archive/master.zip

Start Server¤

export WINEPREFIX=$HOME/.mt5

python -m mt5linux "$HOME/.mt5/dosdevices/c:/users/$USER/AppData/Local/Programs/Python/Python310-32/python.exe"

MetaTrader Terminal¤

Load broker information¤

Load broker information before start by steps:

  • File menu
  • Open an Account action
  • Search your broker (ex: Tickmill, Roboforex...)
  • Enter to load
  • Cancel (Done)

Enable Automatic Algo Trading¤

  • Tools menu
  • Options menu
  • Expert Advisors tab
  • Allow Auto Trading checkbox
  • Uncheck Disable automated trading when switching accounts and Disable automated trading when switching profiles