文章 "Linux 上的 MetaTrader 5" - 页 7

 
Thiago Ferreira:

您好。

我在 Linux(更确切地说,是 Debian GNU/Linux 系统)上打开 MT5 遇到了麻烦。昨天我更新了 Wine Staging 并安装了另一个应用程序,但我无法访问平台。

我收到以下错误信息

"发现一个调试器正在你的系统中运行。请将其从内存中卸载并重新启动程序"。

我已经重新安装了 MT5,并通过 Synaptic 重新安装了 wine-staging 2.0.0 jessie、wine-staging-amd64 2.0.0 jessie、wine-staging-386:i386 2.0.0 jessie、winehq-staging 2.0.0 jessie。


请记住,问题是在更新 MT5 平台后出现的。

 

我对此很不高兴。大型国际公司为 Linux 提供应用程序,无论是 .deb 格式、.rpm 格式还是 .sh 或 .txz 格式。

这种规模的公司应该知道,Linux 比 Windows 更安全,所以它应该在 Linux、BSD 和 MasOS 上建立并鼓励使用该平台。通过 Wine 安装只是小菜一碟,是一种变通办法。

最好的办法是将其作为本地应用程序安装到机器上。安卓有 Metatrader,Linux 有 .apk 格式,为什么不能有其他格式呢?


如果能在移动平台上投入更多,那也会很好,因为安卓应用程序不具备电脑上的所有设置。


谢谢。

 

当然可以!MetaQuotes 正在尽自己的一份力量,GNU/Linux 社区也在尽我们的一份力量。

 

还应记住的是,无论使用 MT5 还是在 Linux 上使用 Wine,都会为可能的 Windows 病毒打开大门。

 
Aecio de Feo Flora Neto:

最新的 wine 版本(1.8)需要 winhttp 库才能运行 mt5setup.exe。否则会出现代理设置拨号框。

要解决这个问题,请下载 winetricks(最新版本)并运行:

winetricks winhttp


我在使用 ubuntun xenial 时也遇到了同样的问题,但 winetricks winhttp 对我不起作用。


我的解决方法如下

1) 安装 32 位架构的最新稳定版 wine

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) 安装 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}
 
Wu Xiaolong:
为毛不发Linux版
完全坑爹。。。用wine1.6  会说 a debugger has been  found running in your system
 

还在。

64 位版本使用调试器,但 vyne 是本地的。

 
htrd:

还在。

64 位版本对调试器说脏话,尽管 vyne 是本地的。

这个问题已经解决,并将在下周发布的版本中提供。您也可以通过安装程序在 64 位 Linux 和 MacOS 上正常安装。

我们将于今晚在 MetaQuotes-Demo 上发布测试版。

 
Renat Fatkhullin:

该问题已得到修复,并将在下周发布的版本中提供。安装程序将支持 64 位 Linux 和 MacOS。

我们将于今晚在 MetaQuotes-Demo 上发布测试版。


哦,好消息,我们正在等待!

 
Renat Fatkhullin:

该问题已得到修复,并将在下周发布的版本中提供。安装程序将支持 64 位 Linux 和 MacOS。

我们将于今晚在 MetaQuotes-Demo 上发布测试版。


这是好消息。谢谢。

您可以制作一个单独的 64 位安装程序,或者只制作一个 portable.zip 压缩包。否则,你将不得不在一个干净的 64 位系统上安装一个 32 位的垫圈,就因为安装程序,你明白这有多大的错误吗?

顺便说一句,如果你真的热衷于速度和非托管,那么 64 位版本的 wine + linux 速度的组合就是最合适不过的了。

不过,在 linux -> MT5 服务器下进行算法交易时,最好至少能有 MT5 的本地库。这将是 "火力全开",而且肯定会在竞争中脱颖而出。

现在 QT5 上的图表使用事件条形图(范围、renko)的时间并不长,而 MT 因某些原因无法使用这些条形图,而且显然也无法使用 ticks 制作图表(如果我说错了,请纠正我)?

您能评论一下交易者的梦想吗?:)

也许我不是唯一对此感兴趣的人,感谢您提供可能的答案。:)

祝您生意兴隆。