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
Shouldn't this code compile?
On the mql5 forum all is fine.
It is raining again in the village of Gadyukino (mql4). Any predictions when electricity will be invented?
Or, - we are coming to you ... :)
Urain:
Тело деструктору добавьте, хоть бы и пустое.
I wanted to add something clever. I couldn't...
I don't understand, is that a prejudice?
it won't compile without a destructor body.
that's how it works:
but not like this:
Initialization of a constant member has to happen somewhere.
I guess you can't use constant terms only :) . It should also be static, for a good reason.
There are tasks where not all instances of a class must have the same constant variable, so static is a separate topic.
At the moment, class members cannot have the const modifier
I hope that with time MQL5 will become more and more like C++. Although I hope that overloading of operators will be enough for me :)
I haven't managed to understand it, is that an excuse?
It will not compile without destructor body.
...
You're confused, it will compile anyway.
Example above, paste in an empty F7 file and you can see everything with your own eyes.
I see... It's just compiled in *.mqh file...
In the MQL5 Reference Manual/Standard Library/Trading Classes/CAccountInfo/MaxLotCheck
is incomplete description of the function parameters, there are three of them in the description.
If you open MetaEditor Navigator MQL5/Include/Trade/AccountInfo.mqh to find the line with MaxLotCheck, the description contains one more parameter percent
Dear developers, please make the optimizer and tester work until the current time, not until the end of the previous trading day.
The current situation is such that the current trading day completely falls out of the optimization period (((
Many systems work on timeframes much smaller than D1 and for them it is critical!