Normally you download and install MT5 terminals from a broker. Naturally they are configured for the broker. Names of symbols, other symbol information and such, etc. I noticed that you can specify a lot of things in a config file including symbol lists, logins, servers, passwords, etc. I was
class A { public : A( string c) {} }; class B { A a; }; / / can't figure out how to get out of this code block either lol // so the problem here is that you can't assign with = when declaring A a; you also can't use a C++ style {} initializer there // I also can't figure out how to do it from a
Is there a way to make Global Variables of the Terminal that don't expire
I noticed that in some cases when an EA quits, it will remove your EA and consequently all settings associated with the EA are gone (because the EA is gone)... this is very undesirable behaviour for me. I think I noticed this when returning a failure code from OnInit() I want to write some assert
I'm a bit confused about the Common Folder. Can you store EAs, Scripts, Indicators in there and have it appear in all the Terminals? Or is it just for a second "Files" folder that you can access from the Terminal? I assume you need to specifically tell the MQL code to use it instead of the
How can I convert uchar bytes[8]; to a ulong
I'm trying to use an MQL library that has this in it and gets this from a DLL. I'm pretty sure the result is a pointer to a char * My question is how can I receive this char * and use it in MQL? How can I convert it to a string? I think intptr_t is a long or an int. I'm guessing a long because of 64
is there anything like a development version of mt4/5? a clean one without a real broker that can be used as the basis for development without having to worry about things like expiring accounts? or order modification limits per day
Hello, I would like to loop all uncompleted orders - meaning: orders that I have opened with OrderSendAsync(), and retrieve the comments. They can be market, stop, limit, etc. orders. By comment I mean what was specified in OrderSendAsync(), not the broker supplied comment. So this means I would
Hi, is there a way to hide the entire chart area? I turned it black background, no lines etc. But what I want to look at it an indicator which exists in the 1st indicator graph. not the main chart. It is called "On Board" it just shows the totals of the open positions. So stats. You can see what I