Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1797
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
I wrote to them about it a few days ago. But who ever listens to sound advice...?
Forum on trading, automated trading systems & strategy testing
Any questions from newbies on MQL4 and MQL5, tips and discussion on algorithms and codes
Mihail Matkovskij, 2021.12.03 22:27
You can hide an object from the chart and then show it. Or use CHARTEVENT_OBJECT_CLICK - it's perfect!
Forum on trading, automated trading systems and testing of trading strategies
Any questions from newbies on MQL4 and MQL5, help and discussion on algorithms and codes
Nerd Trader, 2021.12.03 22:30
I'm keeping an eye on the thermometer.
No... I'll think of a normal one.
A more compact version:
I am not a programmer and do not know styles (I write as I can).
Mihail Matkovskij #:
But I thought you said your function pretends to be universal...? Then you forgot one very important detail:
Mihail Matkovskij #:
Are you too lazy to write a simple script to check it? Ok. I did it for you:
Strange...
this function generates false on "-n".
I'm not a programmer or a teacher. I'm here to ask and answer (if I know). I don't do pissing matches.
If you want to show your worth, learn to admit mistakes or correct them.
I wrote to them about it a few days ago. But who ever listens to sound advice...?
I too have noticed that the more active ones tend to be listened to. In this case Makar. As a result, the simplest problem has not been solved for several days.
I too have noticed that the more active ones are more often listened to. In this case Makar. As a result, for several days the simplest task has not been solved.
const - I don't know what it is, but it works fine without it.
const, it's a guarantee that the value won't change inside the function
Strange...
it's the function that gives out false
I think I've got it all straightened out. What's wrong?
I'm not a programmer and I'm not a teacher. I'm asking and answering (if I know). I am not trying to show off my pussy.
If you want to show your worth, you better learn to admit your mistakes or correct them.
I also answer questions. And I'm trying to convey what a well-written code should look like. And you're talking to me about my ego? I think you and Nerd Trader misunderstand me. I already said above that for me the importance of programming knowledge is what matters, not my importance!
In principle, no one is going to teach you apart from your will. But the code, which was written for you, but you don't like it, doesn't fit or you don't understand it, will probably be useful for other forum members. So if you don't like the code, don't use it. Use the one you like.
Alexei, the problem has long been solved, the man wanted to understand why this particular variant does not work.
Everything is working properly and they're messing with everyone's head here instead of comparing the right version to the wrong one. :)
clearly
Please, advise if I understand correctly that the function returns the lot of the last closed order but the accounting starts from the beginning of the list of all closed orders
and if I do it that way, it will be counted from the end of the list?
Could you please tell me if I understand correctly that the function returns the lot of the last closed order but the accounting starts from the beginning of the list of all closed orders
so if I do it that way, it will be counted from the end of the list?
Could you please tell me if I understand correctly that the function returns the lot of the last closed order but the accounting starts from the beginning of the list of all closed orders
If I do it this way, the countdown will be done from the end of the list?
The second variant will not work. To do the count from the end of the list, we should do the following: