Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1613

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
Aleksei Stepanenko thank you.
Valeriy Yastremskiy Maybe it's because the code is incomplete, as I removed all unnecessary functions.To be honest, I don't understand Kim's logic, why the conditions of bar time exceeding the set value and the number of calculated bars are negative with OR the number of calculated bars is greater than the number of bars Barz)))) And at the same time it just corrects the custom parameters)
And it doesn't even display an alert that the user has messed up)
Logically, if NumberOfBars is specified (greater than 0), the time is ignored and just the latest bars are taken into account
But a user can make a mistake with dates or if there is a hole in the quote, then nothing is printed, it just returns DivideByZero :-)
can anyone know how to convert quotes from mt5 to mt4? or any ways to take advantage of better history from mt5 to mt4... except TDS2😊
Hi
can anyone know how to convert quotes from mt5 to mt4? or any ways to take advantage of better history from mt5 to mt4... except TDS2😊
Export/import
so mt5 has a different quote format. mt4 won't read them. that's the problem...😎
so mt5 has a different quote format. mt4 won't read them. that's the problem...😎
MT5 export to csv and mt4 reads everything
Why do I need division by Point?
...
I strongly recommend it:
Otherwise you get an oops)))
How to make the indicator window completely hide the price chart?
I cannot do it through ChartSetInteger(0,CHART_HEIGHT_IN_PIXELS,0,0). I have to first set the size of the indicator and then add the height of the price window to it:
However, if you open the order window at the bottom, the size of the indicator window becomes larger than the screen size and the terem shows the price again.
I don't know how to measure the order window, besides, it keeps changing.
What to do?
Please help!
Help translate this code into mql5...
I want to understand how to work with handles.
I would appreciate your help.
Please help!
Help translate this code into mql5...
I want to understand how to work with handles.
I would appreciate your help.
The only question is about this line
-50 redundant and array