Questions from Beginners MQL5 MT5 MetaTrader 5 - page 738
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
Hello, such a question:
in the mql5 EA can I get values from the ex4 indicator?
Hello, such a question:
in the mql5 EA can I get values from the ex4 indicator?
no
Hello forum members,
I need to get time series from ZigZag indicator, which will correspond to minima and maxima of this indicator, but as far as I know, I can only get double data from the indicator. Is it possible to do it easily and efficiently?
In MQL5 there is a structure
We can create an array of structures and write the data of minima and maxima in them. But there will be some gaps in time of course.
Hello, Mr. Karputov! I was developing my Expert Advisor for MT4. And I saw that it did not work the way I wanted. I have a question: is there a restriction on the number of ifs for an EA? For example, to open a trade I use nine ifs, to close a trade I use 14 ifs. Also, I think I need to use some ifs to calculate the lot. Are there such limitations in MQL5? If I'm persuaded to switch to MQL5, will it have such limitations? I feel that someone wants me to be unable to earn by autotrading for half a year or longer. What is your answer? That's all for now. 2017.03.22_08:01 GMT+3.
As a rule, all ambiguities with the if-else statement occur because
Hello Mr. Karputov! I was making my EA for MT4. And made sure that it doesn't work as I need it to. I have a question: is there a limit to the number of ifs for an EA ? For example, to open a trade I use nine ifs, to close a trade I use 14 ifs. Also, I think I need to use some ifs to calculate the lot. Are there such limitations in MQL5? If I'm persuaded to switch to MQL5, will it have such limitations? I feel that someone wants me to be unable to earn by autotrading for half a year or longer. What is your answer? That's all for now. 2017.03.22_08:01 GMT+3.
Hello Mr. Karputov! I was making my EA for MT4. And made sure that it doesn't work as I need it to. I have a question: is there a limit to the number of ifs for an EA ? For example, to open a trade I use nine ifs, to close a trade I use 14 ifs. Also, I think I need to use some ifs to calculate the lot. Are there such limitations in MQL5? If I'm persuaded to switch to MQL5, will it have such limitations? I feel that someone wants me to be unable to earn by autotrading for half a year or longer. What is your answer? That's all for now. 2017.03.22_08:01 GMT+3.
There's no limit on the amount of if, you're just probably not doing something right and that's it.