Errors, bugs, questions - page 2534

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
Inline is a relic, in my opinion. The compiler inlines everything fine by itself, so there is no need to overload the code. And in MQL this specifier is nothing at all, added only for compatibility (I don't know what for, if one could declare such a macro by oneself).
Who can guarantee that the compiler will inline 100500 calls to GetTo() in a loop, if the call is preceded by if(something) and this something is false once in five years?
Excuse me, are you disassembling ex4, ex5 codes ?
Artyom, as a moderator please help me with this, I wrote earlier :
"For site administrators:
I couldn't find where, I'm writing here
Need to change the details of the seller in the profile.
how to do this ?
I wrote a message a long time ago in the seller's account, no reply.
maybe there is another way ?
"
Artyom, as a moderator please help me with this, I wrote earlier :
"For site administrators:
I couldn't find where, I'm writing here
Need to change the details of the seller in the profile.
how to do this ?
I wrote a message a long time ago in the seller's account, no reply.
maybe there is another way ?
"
Write to this thread (+ passed your request to the administration):
Excuse me, do you disassemble ex4, ex5 codes?
No. Is there any fundamental complexity there?
I asked a specific question. You gave a specific answer.
And "confusing something with something" is your own fabrication. Please don't worry - I know, and I am not confused, and your other questions are redundant here.
And who can guarantee that the compiler inlaid 100500 calls to GetTo() function in loop, if this call is preceded by if(something) and this something is false once in five years?
And you managed to optimize a lot with your inlines in Release mode? )
p.s. Weren't you the one who was messing around with alignments the other day?
My friends, can you tell me what it is doing, one month everything was working fine, but I dared to load a deposit and now I got an error - karma is black :(
Here is the indicator call from the Expert Advisor
Since July I actively tested everything on a real account under my watchful eyes, there was no error, and now I have it :(
What can it be? At the same time the indicator itself visually works, re-initialization of the EA solved the problem.
Good afternoon!
This may be a silly question, but I can't figure out what I'm doing wrong. I started to learn MQL5 and the first problem arose. I cannot use script for immediate opening of an order (buy/sell, any order at all). I just took the ready code from MQL5 Reference and tried to run it (attach the script to the chart window). It did not work. When compiling, no errors occurred, of course. I cannot attach it to the chart. Maybe everything is obvious, but I am at a loss.
Please advise me, what is wrong? Or the code is correct and I'm just a clumsy one?
Good afternoon!
This may be a silly question, but I can't figure out what I'm doing wrong. I started to learn MQL5 and the first problem arose. I cannot use script for immediate opening of an order (buy/sell, any order at all). I just took the ready code from MQL5 Reference and tried to run it (attach the script to the chart window). It did not work. When compiling, no errors occurred, of course. I cannot attach it to the chart. Maybe all is clear, but I am at a loss.
Please tell me what's wrong? Or the code is correct and I'm just clumsy?