Errors, bugs, questions - page 1035
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
Have you ever seen it output as "word Hello"?
Re-read carefully what I wrote to you. Calculation, not output.
This is an i += ++i +++ expression
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
MetaDriver, 2013.08.03 17:55
"If you want to be sure you have an input on the right side of the screen.
For my purposes it is not always suitable, but in general case a lot of "weekend problems" would be removed.
ForExperts on trading, automated trading systems, and trading strategy testing.
Bugs, bugs, questions
MetaDriver, 2013.08.03 18:02
...
It would also be useful "command" programmatically forced zeroing of all prev_calculated for the selected symbol. With subsequent tick generation would be a good combo.
Gentlemen, is there anything in your plans on this subject?
Re-read carefully what I wrote to you. Calculation, not deduction.
You are right to separate the moments: calculating function arguments, substituting those arguments and calculating the function itself. This script - shows that both the arguments are calculated from left to right and the expression itself from left to right:
Not that?
Nope - using an uninitialised standard class there.
All my classes are self-written. And I do not understand - why inside the class method works fine, and in OnInit() - does not.
Upd: very interesting... ;-) If the Expert Advisor is run in MetaEditor under the debugger - everything works fine. Moreover, EX5 (1.5 times larger than usual) compiled under debugger also works fine. But as soon as EA is recompiled in normal mode - it starts glitching. Apparently, I'll have to open a new application in Service Desk.
Can knowledgeable people please tell me the difference between extern and static, what is the global lifetime?
In your case, you have decided that two sets of variables, independently described in two different files, merge into one representation. This is actually not the case.
By adding an mqh file, you explicitly define separate sets of variables in each include file. Roughly speaking, do not put variable definitions in the header files - they will be scoped.
I wanted to use one (single) variable in several modules, but I don't know how. The output result: e1=0 did not change.
There is an extern memory class specifically for your case. Try
I wanted to use one (single) variable in several modules, but I don't know how. Took away the .mqhP output: e1=0 did not change. Where did e=10 go? If e1 is different in different modules, it means that static and extern functionality is identical? And if not, where is my error?