Forum

MT5 Linux install + remote desktop == FAIL

I would like to install MT5 in an Ubuntu instance in AWS using wine . I use the Remote Desktop Connection utility in Windows 10 to connect to Ubuntu, which runs the tightvnc server. When I run: wine mt5setup.exe , I get the following error message: A debugger has been found running in your system

How to know if running in Strategy Analyzer

Is there a flag or any other way to determine if the EA is running in testing mode under the Strategy Analyzer

Invalid price in Strategy Analyzer

I run an EA through the Strategy Analyzer and I keep getting this error: failed buy stop 1.00 EURUSD at 1.18958 tp: 1.18988 [ Invalid price ] The Ask at this moment is 1.18970 , and the Bid is 1.18938 Is there a minimum distance required to place orders? I don't understand why this BuyStop keeps

[Bug?] OrderSendAsync seems to be sending duplicate events

Using OrderSendAsync to quickly send several orders, passes the same order twice to the OnTradeTransaction event handler. Consider this EA example, which uses Trade\Trade.mqh to place 5 Buy Stop orders #include <Trade\Trade.mqh> #include <Trade\SymbolInfo.mqh> int OnInit () { CSymbolInfo si;

Floating vs docked Dialog

Greetings. MetaTrader5 comes with some Dialog examples. The EA example is in Examples\Controls and the Indicator example is in Examples\Panels\SimplePanel . The EA example creates a floating dialog that can be dragged around, and the Indicator example creates a docked dialog which docks under the

FileIsLineEnding doesn't reset the EOL flag?

It appears that FileIsLineEnding does not reset the EOL flag when called. This makes it impossible to use it to iterate over lines of text in the following fashion: 1 while (! FileIsEnding (fh)) { 2 while (! FileIsLineEnding (fh)) { 3 words[i++] = FileReadString (fh); 4 } 5 }

Newbie trying to download MT4

Hi everyone, I am sorry if this question doesn't belong to this forum, but frankly I can't find where else to post it. I've been trying to download Metatrader 4. I click the "Download Metatrader 4 for PC" button at https://www.metatrader4.com/en/download, and install the binary. Somehow, I end up