Errors, bugs, questions - page 2249

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
Or is it just that someone doesn't read the help and uses the functions inappropriately? In particular, the wrong functions for the printout.
it is enough for me to see on the graph and not clutter up the log
it is enough for me to see on the graph and not clog up the log
How isprinting to the screen different from printing to the log? Do you print to the log with the wrong function, too? Is it convenient to eat soup with a hammer?
DoubleToString() with the required precision.
Forum on trading, automated trading systems and trading strategies testing
Features of mql5 language, subtleties and tricks
fxsaber, 2018.08.01 12:43
IS 0 13:32:55.239 Trades '11391209': accepted exchange buy 1.00 AFKS at market DM 0 13:33:07.896 Trades '11391209': deal #265475900 buy 1.00 AFKS at 9.095 done (based on order #284425784) OD 0 13:33:07.898 Trades '11391209': order #284425784 buy 1.00 / 1.00 AFKS at 9.095 done in 12757.608 ms
Please consider the reasons why the market order was executed for 12 seconds on the demo server? All data is in the log.
MQ-Demo server
Please consider the reasons why on the demo server the market order was executed for 12 seconds? All the data is in the log.
You participated in the "FORTS Questions on Execution" thread.
You participated in the "FORTS Enforcement Questions" thread.
I can't remember everything. In this case the developers can look at their demo server if they wish.
Question:
We are working on a demo account, all demo account data is loaded into the terminal margin, spread, lots max min, etc.
During testing AccountInfoInteger(ACCOUNT_TRADE_MODE) returns that it is a demo account
and MQLInfoInteger(MQL_TESTER) returns that the program is running in Strategy Tester.
Why connect to a real account and launching the program in strategy tester, it returns that it is a demo account?
Logically, the Demo, Real, Competition are types of accounts, and the testing is the method of working with the program on the account.
So, AccountInfoInteger(ACCOUNT_TRADE_MODE) should return the Demo, Real, Competition account type in the Strategy Tester
Code reproducing the problem
Question:
We are working on a demo account, all demo account data is loaded into the terminal margin, spread, lots max min, etc.
During testing AccountInfoInteger(ACCOUNT_TRADE_MODE) returns that it is a demo account
and MQLInfoInteger(MQL_TESTER) returns that the program is running in Strategy Tester.
Why connect to a real account and launching the program in strategy tester, it returns that it is a demo account?
Logically, the Demo, Real, Competition are types of accounts, and the testing is the method of working with the program on the account.
So, AccountInfoInteger(ACCOUNT_TRADE_MODE) should return the Demo, Real, Competition account type in the Strategy Tester
Code reproducing the problem
Add login - what if it switches to another login?
Add a login - what if it switches to another login?
same account