Questions from Beginners MQL5 MT5 MetaTrader 5 - page 776
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
From the documentation
Will this code compile, won't x=i; get an error?
And, what's the difference between declaring these x y z at the beginning, during initialization?
I'm so dumb... ...don't understand shit.
Maybe the basics, no arguments, I just can't get into the code, where it starts, where it ends... hence the questions. Ok it's a reference(?), but to what?
Where did the"Str" variable originally appear here?
Right after the first curly opening bracket.
OK, we declared all the variables in the parentheses, and started filling them in the function. We filled them in. But, what is the point of these actions, why can't we declare variables before the function and assign values to variables in the function? Is there some kind of trick here?
OK, we declared all the variables in the parentheses, and started filling them in the function. We filled them in. But, what is the point of these actions, why can't we declare variables before the function and assign values to variables in the function? Is there some kind of trick here?
Will this code compile, won't x=i; get an error?
And, what's the difference between declaring these x y z at the beginning, during initialization?
I'm so dumb... ...don't know shit.
Maybe it will be cursed, but that's from the documentation without any changes.
But why make them global, if they are only needed locally - in this function? They have done their task and are destroyed on exiting the function.
I apologize, perhaps, for naive questions, but then why not initialize them in the function? I understand that I will have 33 parameters instead of 3, so I'm wondering how to write it in a more compact way and I can't do it without understanding the code...
Here's where this function is called:
And here we go again to initializing the same :
Then theGetData(Str, Ticks, Balance) function is called.Hi. I have a couple of questions about MQL5 Cloud Network:
- for optimization to be possible in MQL5 Cloud Network, should the indicator code be in the EA or can it be called via icustom ?
- if an EA uses data from an external file in its calculations, will it work during optimization, all these files will be loaded into agents ?
- how safe is it to use the agents, can we get/extract EA and the processed data from the agent ?
Hi. I have a couple of questions about MQL5 Cloud Network:
- in order to be optimised in MQL5 Cloud Network the indicator code should be in the Expert Advisor or can it be called via icustom ?
- if an EA uses data from an external file in its calculations, will it work during optimization, all these files will be loaded into agents ?
- how safe is it to use the agents, can we get/extract EA and the processed data from the agent ?
- No - indicators are transmitted
- No (data must be transmitted/attached separately)
- Not excluded.
- No - indicators are transmitted
- No (data must be transmitted/attached separately)
- Not ruled out.
understood, thanks.
another question to the community, are there any working examples of opencl ? not spherical drawing graphs and pi calculations, but for example we have a farm of video cards with several hundred processors, how to run optimization tester runs on each video card processor ? is that even possible ?
I see, thank you.
I have another question to the community, are there any working examples of opencl ? not spherical drawing charts and calculating pi number but for example we have a farm of video cards with several hundred processors, how to run optimisation tester on each video card processor ? is it even possible ?
Can you write a kernel for OpenCL? I know of only one person here who claims to use OpenCL to optimise on the fly - while the EA is running. I am not aware of any other examples.
I would like to take a look at them myself. I even asked to publish an article on this subject but the administration does not know how to apply it to real trading.