Errors, bugs, questions - page 1578
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi
Question one.
There is a dedicated server with 2 network cards physically connected to the communication equipment and have their own IP.
How to organise routing within the server so that one terminal goes through the first connection and the second through the second one.
It is needed not so much for speed but to ensure that the IP do not intersect.
build 1331. Compilation error: constant cannot be modified
People, please check the error I mentioned https://www.mql5.com/ru/forum/1111/page1598#comment_2481097 or maybe it's my ignorance that gives this result, the error is detected in MT4 when executing the script, thanks.
Look at the PrintFormat() function. In your case, it is better to use it.
Then it goes like this:
Parsimony rules :-)
Look at the PrintFormat() function. In your case, it is better to use it.
Then it goes like this:
Thank you. Although I don't understand what the global difference is between a variable print and a function print directly, as I mentioned above.
But I need to save the data to a file and I get blank lines... what's wrong?
FileWrite(handle,symbolName,":\t",MarketInfo(symbolName,MODE_SPREAD),":\t",MarketInfo(symbolName,MODE_MINLOT),":\t",MarketInfo(symbolName,MODE_MARGINREQUIRED)*MarketInfo(symbolName,MODE_MINLOT),":\t",(MarketInfo(symbolName,MODE_TICKVALUE)*MarketInfo(symbolName,MODE_MINLOT))*100,":\t",MarketInfo(symbolName,MODE_STOPLEVEL),":\t",str2,":\t",string (ATR_D_1000),":\t",string (ATR_M15_9600),":\t",string (iBars(symbolName,1440)),":\t",string (iBars(symbolName,15)),":\t");
Try writing only string variables to the file.
It's like this:
build 1331. Compilation error: constant cannot be modified
As far as I remember, there used to be no difference between these entries in MQL. Has something changed?
build 1331. Compile error: private\protected member access error