Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1791
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
So that you can write yourself a reminder - what's the function
:))) as if I can't do it myself when I need to: insert two slashes and write a couple of words. Have you tried writing something in that frame? That forward slash on the right will go to the right by the number of characters you typed, but what if you need to write more than one line? Instead of doing something, I have to waste my time on drawing frames. It's just that the ide imposes some kind of sick vision of how it should be.
:))) as if I can't do it myself when I need to: insert two slashes and write a couple of words. Have you tried writing something in that frame? That forward slash on the right will go off by the number of characters you typed to the right, but what if you need to write more than one line? Instead of doing something, I have to waste my time on drawing frames. I'm just imposing some sick vision of how it should be.
Put two slashes in front of the function and you're good to go.
Put two slashes in front of the function and you're good to go
When the button is clicked, a horizontal line is created. They are recreated with a different colour depending on the position of the cursor in relation to the price. The problem is: yellow and grey lines are flickering and constantly being created (green is OK) when the cursor is at the appropriate position away from the price. Similar code changing only line colour property, not recreating it, works correctly.
The logical NOT here is in its place, i.e. instead of writing == 0.
The logical NOT here is in its place, i.e. instead of writing == 0.
Because it really pisses me off when you decide to move to a native mql4 environment and there you go! Would you like a frame? And we will sell it anyway.
You have to use Makar's method to get what you want.
I didn't know about the styles, so I formatted them the way I wanted to read them.
ObjectFind is an int, not a bool
in this case there is no difference "!" or "==0"
There is a difference!!!
in this case there is no difference "!" or "==0"
This query goes like this:
Vasily Ivanovich Chapayev and Petka are flying in an aeroplane, and suddenly Vasily Ivanovich, sitting at the pilot's wheel, cries out:
"Petya, the instruments!"
Petya replies: "Thirty-eight."
Vasily Ivanovich: "Thirty-eight what?"
Petya: "What about the instruments?"
This request looks like this:
No Makar, it looks like this:
The ObjectFind() function returns the number of the main window. And this number is 0. On the other hand, 0 == false, so it follows that if the function returns 0, it still returns false. Of course, I would not use this because if the function returns -1, i.e. an error, we may consider the location of the object not in the main window. On top of that, you never know what fixes will be made...
In general, do not argue and do not learn to do so ...