Errors, bugs, questions - page 2808

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
The result in MQL: 1
In C++: 2
As far as I remember the original MQL concept was changed long ago and now, like in C++, the base class is called only if there's no suitable function in a derived one. Or maybe they've changed it all again?
In MQL it's fine:
but C++ gives an error in both cases
What could be an error in the second case? There's at most a warning (hint) that a pointer was declared but not used.
2020.07.26 10:54:28.289 Tester expert file ....\MQL5\StochasticCCI.ex5 open error [2]
it's not there and shouldn't be.
the error is a network agent after the upgrade, before the upgrade it worked fine, in old versions the optimizer does not give an error in the Expert Advisor, the Expert Advisor was not recompiled
full demolition and reinstallation of Metatrader with deletion of all data had no effect
2020.07.26 10:54:28.289 Tester expert file ....\MQL5\StochasticCCI.ex5 open error [2]
it's not there and shouldn't be.
the error is a network agent after the upgrade, before the upgrade it worked fine, in old versions the optimizer does not give an error in the Expert Advisor, the Expert Advisor was not recompiled
full demolition and reinstallation of Metatrader with deletion of all data had no effect
What could be the error in the second case? There is at most a warning (hint) that the pointer was declared but is not used.
That's because it's not
There may be different dialects, so it is worth checking with the Developers in any caseShow the code of your indicator call, please.
Note the post, people's advisers have stopped working !!!!!!! https://www.mql5.com/ru/forum/347385/page5#comment_17519416
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
A100, 2020.07.26 01:02
I have only one error in MQL:
but C++ has an error in both cases
Please explain why there is a problem with this code?
Please explain why there is a problem in this code?
I have no idea! I took this example apart... Changed struct to class -C++ shell threw an error:
error: 'class A A::A' is inaccessible
You can check it yourself.
context resolution. the constructor is inaccessible through the ancestor because of private inheritance.
If you explicitly specify context, everything compiles
_____
don't ask why a constructor is required - I have no idea.