Getting Started

FAQ

Analytics

MetaTrader 5 (Mac)

MetaTrader 5 (Mac)

MetaTrader 5 (Mac)

*For macOS running on Apple Silicon chips.

1. Setup via Homebrew

  1. Install Wine view Homebrew. If Homebrew is not yet installed, install it from here: https://github.com/Homebrew/brew/releases/tag/4.4.23
  2. Open Terminal and run brew install --cask wine-stable.
  3. Verify wine installation by running wine –version.
    1. If it prints the version number, wine is installed correctly.
  4. Run which wine.
    1. It should display /usr/local/bin/wine or /opt/homebrew/bin/wine.
    2. If wine is installed but see “command not found”, try running this:
    3. echo export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc source ~/.zshrc

      Then run wine –version again.

2. MT5 Setup via Wine

  1. Download MT5 exe here https://www.metatrader5.com/en. Note: We need .exe instead of .pkg
  2. Open Terminal.
  3. In the terminal, go to the directory where mt5setup.exe was saved.
    1. Example: If saved in the Downloads, go to Downloads directory by running cd Downloads on the terminal.
  4. Run wine mt5setup.exe. This should open the MT5 App.
  5. Download the dlls from the PineConnector Portal and import them via command line by running: mv ~/Downloads/PineConnector/PineConnector-MT5-DLL-v1.17.dll ~/Downloads/PineConnector/PineConnector-MT5-EA-v3.45.ex5 ~/.wine/drive_c/Program\ Files/MetaTrader\ 5/MQL5/Experts/
  • The command should move the dll files to wine’s directory. Refresh the MT5 App and it should also display the EA on Experts folder.
  • Note: If you encountered a permission denied error after running the command, change the permission by running chmod 777 {filename}. Make sure that your terminal is currently pointed at the directory where the file is saved.
  • Example: usr/user-default/Downloads/PineConnector> chmod 777 PineConnector-MT5-EA-v3.45.ex5