Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1542
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
A person wanted to show in an example how to copy three bars. You can copy as many bars as you need. But for the Expert Advisor, as well as usually, it is enough to know the current volatility. It is only one zero, the current bar.
Good information. Thank you.
Can you tell me if this is the correct way to normalise to 5 decimal places?
Here in this place
I just get discrepancies with the real data.Is this the correct way to normalise to 5 decimal places ?
This iswhere
I get discrepancies with the real data.
And it is definitely necessary to do it this way? It is just not clear to me for what purpose you take away the period of the indicator:
Regards, Vladimir.
HI there.
My EA isn't running on meta4 desktop even if i use the preinstalled EA expert that they have. I have selected the auto trade, allowed trading when changing accounts, it has a smiley face and in the bottom at experts it shows all is good. So why isn't it opening trades?
Any Advise or Help??
Is it really necessary to do it this way? It is just not clear to me for what purpose you take away the period of the indicator:
I don't know how to do it myself)
Code from the codebase.
Hello.
What is the error when compiling ?
'operator[]' - constant variable cannot be passed as reference
how to fix ?
I don't know the right way myself)
Code from the codebase.
For the sake of interest, remove what I highlighted in yellow and see the result. It will be interesting to see what you get. ))
Regards, Vladimir.
For the sake of interest, remove what I highlighted in yellow and see the result. It will be interesting to see what you get. ))
There are no differences.
The data is the same
For the sake of interest, remove what I highlighted in yellow and see the result. It will be interesting to see what you get. ))
In your variant, the export of indicator values is 1 bar earlier.
Otherwise, there are no differences.
I don't know why the author did it.
But I have a problem with normalisation of exported data to 5 digits
Hello.
What is the compilation error ?
'operator[]' - constant variable cannot be passed as reference
how to fix ?
Maybe you should explicitly specify the wordconst?
Regards, Vladimir.