Errors, bugs, questions - page 1330
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
Why, when compiling the indicator, all the settings in this indicator that are on the charts are reset to default?
Good afternoon, can you please guide the nouveau. I use MT5 not for trading, but as a source of some "random" data (and don't even ask why - not my whim). Is it possible to obtain historical data, measured in ticks (I need bid and ask data several times per second). What should I do? I know that when testing an indicator MT5 pumps out data - how to use this ?
I have a task to write a custom indicator that sends current ticks to a certain service (no problem). I haven't found anywhere how to get historical data in ticks but not in M1.
In the "Log" tab of the strategy tester, see the price value and the arrival time.
MT4/845, Windows 7/64bit. Made a script:
It prints in the logs:
2015.07.22 10:13:26.134 Test EURUSD,H1: value = 0.00000000
and it should be 0.50000000.
You should write 1.0/2 or 1/2.0 or 1.0/2.0 then it will be what is expected.
Why did methaquotes disable the function of uploading quotes from the dealer's server? Now it is only possible to upload from metaquotes.
But even this cannot be done, because the message says that there are no quotes.
Of course, it is absent, because why do the metaquotes have quotations with suffixes?
For example suffixes in currency pair names are used by fortfs, roboforex, eksness etc.
Yes, your advice helped. Although it would have seemed to work without .0.
Different result: this is a questionable result
and this is normal what difference does it make?but otherwise it's fine, what difference does it make?
If I understand correctly, the compiler should crash and not compile at all. Because there uint uint, there uint int, and int, uint is passed into the function, uncertainty, however.
https://www.mql5.com/ru/docs/basis/function/functionoverload
Quote: "The function found must be the best choice among the other choices for at least one argument, and, at the same time, for the other arguments it must fit as well as the others."
So what is the best choice for calling f(int,uint) here?
Hint: the rest of the argument in this case is the first