Errors, bugs, questions - page 1059

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
Explain why when declaring an instance of CCanvas class globally, the compiler swears - unresolved static variable 'CCanvas::m_default_colors'.
If declared locally in any function, all is well.
The latest build of the terminal is 842.
Explain why when declaring an instance of CCanvas class globally, the compiler swears - unresolved static variable 'CCanvas::m_default_colors'.
If declared locally in any function, all is well.
The latest build of the terminal is 842.
This standard library error was fixed.
Good afternoon,
I am usingNormalizeDouble to round the lot.
However, not all figures are rounded to two digits after the decimal point.
What is the problem?
NormalizeDouble(0.07000000000000001,2); //does the same thing0.07000000000000001 instead of the expected 0.07
thanks in advance.
Good afternoon,
I am usingNormalizeDouble to round the lot.
However, not all figures are rounded to two digits after the decimal point.
What is the problem?
NormalizeDouble(0.07000000000000001,2); //does the same thing0.07000000000000001 instead of the expected 0.07
thanks in advance.
Can't run mt5 in /portable mode on Win2008 server x64 R2
the log appears
File on specified path helped delete file manually
doesn't say any more and only
got it from ....Roaming....
put it on the specified file - the trick didn't work
remove /portable from shortcut and terminal will run
2013.09.07 02:39:36 iTester-SL (GBPUSD,M1) 1 undeleted objects left
Memory leak // Or compiler glitch.
The object has been declared as a static global variable. (!) That is, it is not dynamic at all.
The problem occurred after the part of the code which uses this variable was moved to an .mqh file and declared in this file as extern (no leakage was detected before):
extern CTestStat Stat;
The program works fine.
// I avoided the problem by declaring the object dynamic. Now I create it in OnInit(), delete it in OnDeinit(). Leakage (leakage messages) stopped.
Good afternoon,
I am using for NormalizeDouble lots.
However, not all numbers are rounded to two decimal places.
What is the problem? / Solution?
NormalizeDouble (0.07000000000000001,2) / / still outputs +0.07000000000000001 instead of the expected 0.07
Thanks in advance.
Can you suggest a software, online resource or MQL5 script for viewing markets on timeframes over MN. Need an analogy to MT5: Japanese candlesticks and the ability to adjust bar thickness.