Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 943
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
Guys, please help me in the code to change the TF d1/week to any other.
I know how to change it to H1 or minutes.
Interested in how to change to m30, m15, m5?
I need to pause the indicator for some time, but the Sleep() function, as mentioned in the help, cannot be called from the custom indicator... Are there other ways?
output by condition in OnCalculate() without calculating indicator values - easiest is the tick counter, a bit more complicated is to use a timer, it works in indicators
output by condition in OnCalculate() without calculating indicator values - easiest is the tick counter, a bit more complicated is to use a timer, it works in indicators
Thank you!
I have done it with timer. This option seemed easier to me...
Thank you!
Did it with a timer. This option seemed easier to me...
I'd completely forgotten about the static variables... Thanks :)
And if you declare an ordinary variable as a global variable, it will in fact be the same as a static variable in a certain sense? In the sense, it will be available to change from all places in the program?
Hello.
Can you please tell me if it's possible to pass a dynamic array of structure type by reference to a function?
For example, to pass struct_name_array[] array to Func() to process and fill it there:
How exactly is the transfer handled, if at all possible? How are the function parameters formatted? I can't seem to use C++ guides.
Thank you.
For example, pass struct_name_array[] array to Func() to be processed and filled there:
Hello!
I realise I've already annoyed a lot of people here with my stupid questions, so please be lenient with the following and still explain what's wrong here:
The alert is issued, but there is no vertical line. What's the reason?
Hello!
I realise that I've already annoyed a lot of people here with my stupid questions, so please be lenient with the following and still explain what's wrong here:
The alert is issued, but there is no vertical line. What's the reason?
I have already understood the reason, even the very reference to the forum. I think I understood that I had already drawn one line. In order to draw other lines, I have to erase this one.