Questions from Beginners MQL5 MT5 MetaTrader 5 - page 1447
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
How about this:
Or like this:
Thank you, indeed in On Calculate - it works.
But what if the same point, but it should be implemented in a separate function?
I.e..
void funkc_()
{
Here there is no access to RATES_TOTAL and HIGH ? And what to do in this situation ?
}
In general, MQL5 is really more complicated and incomprehensible than MQL4, of course "for me"
Hello, Vyacheslav Pronenko
In the function you just need to pass what you need in the parameters:
Hello, Vyacheslav Pronenko
In the function you just need to pass what you need in the parameters:
Thank you all very much for the explanations )) I got the result I needed.
globally:
double XX[];
then function:
void funkc_(int rates_total, const double &high[])
{
XX[rates_total-1]=high[rates_total-1];
}
then in On Calculate
funkc_(rates_total,high );
Everything worked ! Thank you very much again, especially for the explanation of how to pass data to the function. Good luck to all !
Hello Olga MAL
You were probably looking for information from this article. If I understood your questions correctly, the short answers are as follows:
Hello, Olga MAL.
You were probably looking for information from this article. If I understood your questions correctly, the short answers are as follows:
Good day!
I bought an Expert Advisor and I have 5 activations.
Can I, using two activations, install this Expert Advisor on two computers at the same time?
Or will it work only on one computer?
Sincerely, Alexander
Good afternoon!
I bought an expert and I have 5 activations.
Can I use two activations to install this Expert Advisor on two computers at the same time?
Or will it only work on one computer?
Sincerely, Alexander
Having 5 activations, you can install on 5 computers.
With 5 activations, you can install on up to 5 computers.
The description says that it will not work on another computer (see attached picture).
That is why I have a question about the possibility of simultaneous work on two computers (using two activations).