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

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
Vitaly, if you don't print it, the internal calculations will show 0.00004.... or 5.666666.....e ?
the internal calculations only include this (an eight byte hexadecimal integer)
https://ru.wikipedia.org/wiki/Число_двойной_точности
0.00004467 = 0x3f076b81834d51ed
Good afternoon. Help
I have a code without checking for the presence of open orders.
Opens orders according to the logic that is laid down, but opens both buy and sell orders
We are going to work with these orders.
//It does not have to check the order if it is open.
If you enable checking, then the orders are not opened as we would like them to be.
If we want to avoid counter-orders, we should check the first order to be opened and then open the same type until the last order type is closed and then go back to the logic of checking the conditions for opening, right?
And how to point to this there is no understanding.
Anybody out there who can give a nudge to understand?
Thanks for any hints.
Good afternoon.
Thank you. The logic was correct, make the counter only correct and specify the condition correctly
Thank you. I'll look into it.
Good afternoon. Here's a question. I have a trawl.
How do I specify to my Expert Advisor to make it work?
I've seen that they specify it that way, but it somehow does not work for me.
It is a general problem to specify the ex for the function to work, how should I do it?
Good afternoon. Here's a question. I have a trawl.
How do I specify to my Expert Advisor to make it work?
I've seen that they specify it that way, but it somehow does not work for me.
In general, the problem is to specify the ex, for the function to work, how to do this?
What is it!!!
NormalizeDouble read and tell me how you put the comparison there.
P.S. You don't have any errors in your log at all?
What is this!!!
NormalizeDouble read it and tell me how you got the comparison in there.
P.S. Do you have no errors at all in your logbook?
No errors, not one.
NormalizeDouble- makes it readable.
Can't you do it that way?
no errors, not one.
NormalizeDouble- makes itreadable.
You can't do it this way?
Boolean variable.
Hello all!
Please help!
The common_sr indicator shows yesterday's maximum/minimum only today, on the current period. I.e. these levels, boundaries are not shown on yesterday's day - only today. And this is correct!
And the same indicator, showing the maximum/maximum levels of the previous week, draws them in the previous week as well. Although, logically, it should draw only the current week.
I have tried to represent these ideas in the screenshot. If I have any questions, I will give the answers.
Will you be able to correct it in any way?
Thanks a lot for the help!