Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1644
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
2 screenshots except first one are not moved, error 5019 (file does not exist), although they are displayed in folder (except first one made by timer).
2 screenshots, except the first, are not moved, error 5019 (file does not exist), although they are displayed in a folder (except the first one made by timer).
Checked on cripta all screenshots do, but there is a move error
Checked all screenshots on the crypt, but there is a displacement error
That's how it works.
Why bother moving in the first place?Separate the functions to make it easier for you to navigate.
Here's an example of OnTick()
As you can see there are only calls to functions
Good day, Makar, I have remade the code and implemented the function for calculating the average price in the journal, no errors, but no trawl from the average price
I took the netting principle from this function for single orders that works without fail
Good day, Makar, I have redesigned the code to calculate the average price, but the average price trawl does not appear in the log.
I took the trail setting principle from this function for single orders that works flawlessly
Here's how it works...
I tweaked the functions - removed unnecessarySo it's working.
Are you sure it works? I, with this option, still have all the problems. And it's mt5.
Why the fuss about moving at all?
To sort
For sorting
Also sorts, but without extra functions
Are you sure it works? I, with this option, still have all the problems. And it's mt5.
Sorry, I wrote for 4...
Checked in 5! Everything works.
It goes something like this...
I've tweaked the functions - I've removed the unnecessaryMakar, can you clarify where in the code the function is referred to?