Forum

New compiler at MQL4?

Hi After some months away of MQL4 programming , today I have compiled a code which was working perfectly before (9 months), but now I got a compiling error. This is the code line: switch(Orders[index,1]) Orders is defined like this: double Orders[100,12]; The error is this one: 'Orders' - ilegal

MODE_SPREAD & MODE_STOPLEVEL

Hello, I have an issue with these instructions MODE_SPREAD & MODE_STOPLEVEL. When I check these values on a 5 broker digit I got these values for example: MODE_SPREAD : 17.00000 MODE_STOPLEVEL : 10.00000 That's ok. But, when I do the same in a 4 broker digit I got these values for example

Copying trades between MT4s

Hi, I'm going to develop an EA to copy among my accounts, I see I could do that with a file text management among the accounts, using the text file as the vehicle with the information to copy. But, to do this with other MT4s in other computers, which is the technique to implement? should I use a

EA detects other EAs

Hi everybody, Is it possible than an EA detect if other EAs are running on the same terminal? If so, could you show me the routine? Thanks in advance

User validation server

Hi, I'm looking to have an user validation server because I will distribute an expert advisor just among some specific traders. I would like to contact someone with the knowledge to do this, of course I will pay. Thanks

Dynamic Array declaration

Hi, I would need to define the size of my array by an external variable, is that possible? Example: external int Size; ... double Orders[Size]; When compiling it fails on the array declaration: "integer number expected" Thanks in advance

What happens with the data on arrays when the MT4 is reseted.

Hi people, I'm creating an EA which uses an array to store different price leves to be considered for each opened order. I'm worry about what happens when external events affect the EA execution, for example: interruptions in the internet connection, or even worst a complete reset of the computer

Minimum lot size allowed in historical data

Hey all, I used to use historical data from Dukas which is converted by scripts to MT4. During the last time I have downloaded and converted data , the minimum lot size has been defined has 3.0 lots. I do not have idea the reason of this value. As I said, this is not my first time using the same

Need MT4 older version

Hi, I'm looking for MT4 4.00 release 399 or 402, anyone could share it? This is for backtesting purposes. Thanks

OBJ_VLINE

Hello, This is my first time using graphical objects in an indicator. I would need to draw a vertical line everyday at the same time "22:00", could you please guide me to a solution? Thanks