Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1846
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Explaining. "Calling yourself an expert" means that you know what I don't know. I wondered if I'd really missed something and you'd added to my message. But alas, you didn't say anything new. And it wasn't you who "called yourself an expert in plain language"!
"Chevoi"?! Not only do you allow yourself to address everyone in a familiar manner. You call everyone "you", and you allow yourself to call the person you are talking to by a name other than their full name, without knowing them personally. You also write nonsense like that to me. Rostik (I'm addressing you the same way), who brought you up? Don't you think it's too much?!...
It's you who's having a seizure judging by the posts above... I just resent your upbringing! I thought you had some sense.
I didn't call myself an expert, much less write that I know something you don't know!
I'm not an expert in the field and my relation to MQL4 is amateurish.
Regarding the familiarity, maybe I'm wrong, but given the lack of complaints and my age nothing can change.
As for the huffing, you've already started a lot of clarifications in this thread.
HOW? Like the three EMAs? I haven't seen that before.
As an example:
Tretyakov Rostyslav #:
As for the familiarity, I may be wrong, but given the lack of complaints and my age, nothing can change.
Well personally, I didn't complain as I don't suffer from megalomania. You can call me "you" if you want. But think about how it looks from the outside... I called you "you" from the beginning until I realized it was useless... I don't think anyone else cares how you address them either. Just like you don't care about your culture of communication...
As for theseizure, you have already started to identify relationships in this thread many times.
Good afternoon!!!!
Interested in your opinion on the following question:
Here are parts of the grid EA code
The logic of these pieces of code is opening a grid of orders, the orders are not principally averaged in the broker's terminal, the averaging is done on a user's computer.
There is a constant calculation of the open grid of orders if the profit of the whole grid of orders is greater than zero and there is a certain signal from the indicator, the whole grid of orders closes.
The Expert Advisor works flawlessly on a demo account, and works flawlessly in the real account tester, but on a real account, miracles happen: all of the grid closes only those orders that have a profit. There are no errors in the log.
The question is whether someone has faced with such a situation in what the incorrectness of the code or in the kitchen of the broker????
The question is whether anyone has encountered such a situation in what is the issue of incorrect code or in the broker's kitchen????
Keep track of not only the closing error but which orders were selected to close, it will become clearer where the bug is.
Good afternoon!!!!
We can see in the code that orders are closed by the symbol and by a bridge. But we don't see any profit being taken into account. What prevents losing positions from closing? Probably better to ask the broker.
In the code, you can see that orders are closed by the symbol and by the meigic. But no profit is taken into account. What prevents unprofitable positions from closing...? Probably, it is better to ask the broker.
What do you think, if I add profit calculation condition > 0 to the function of closing all orders, will it change?
I have this condition in my command to close orders