
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
Silly of me to say so, in fact, I understand that if I've already expanded a dynamic array to 302, I can access any element from 0 to 301 without ArrayResize.
A glitch in the strategy tester.
It suddenly stops and all local and remote agents have the message finished and so hangs.
Can you tell me how to run it further, sorry time to start all over again?Disable some of the agents.
This problem has already been fixed, wait for the next build
The SymbolInfoInteger() function returns incorrect property type, namely:
I want to get the number of decimal places, but it swears, like:possible loss of data due to type conversion
I am type conversion, but according to the description it should return int , in short, it returns long
I need to normalize the value and put into the function exactly int here:
_Digits works fine, but it doesn't work for me.like this:
The result is the same.
Please do not kick me if anything ) Am I the only one who has such a bug ?
The SymbolInfoInteger() function returns incorrect property type, namely:
I want to get the number of decimal places, but it says something like:possible loss of data due to type conversion
The SymbolInfoInteger() function always returns long type, even though the real property values can be of any integer type. You have to convert the result of the function to the target type yourself.
The SymbolInfoInteger() function always returns the long type, although real property values can be of any integer type. You have to convert the result of the function to the target type yourself.
Thank you, I got it. The only thing I'm not clear about is what I should do in this particular case. Don't pay attention to the compiler's warning?
If not, how should I convert long to int I do not understand? If you can please give me an example of what I should do in this case.
I am writing an EA for a championship, will it be considered as an error in the code or not ? Basically everything works fine, only the compiler gives me a warning.
If not, how do I convert long to int ? If you can please give me an example of what I should do in this case
Like this, for example:
Note. A warning is not an error message. It is just to shake up the programmer.
Note 2: See type casting, explicit and implicit.
Like this, for example:
Note. A warning is not an error message. It is to shake up the programmer.
Note 2: See "Type conversion", explicit and implicit.
Thanks Yedelkin, I knew the truth is somewhere near! The log is clean now )
"Type conversion" didn't even see it before )