Any questions from newcomers on MQL4 and MQL5, help and discussion on algorithms and codes - page 1148
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
Why is it that the quotes are 5 digits, but the indicator gives out values of 4 digits? There is no rounding or anything
thank you
Why the function ...
PositionsTotal()
... ...sometimes returns 0 when there is actually one open position? MQL5
The logic of its operation depends on it
... here is proof
Thanks for the help
Good afternoon.
There's a question about binary files: is there any way to trim their tails?
Good afternoon.
Here's a question about binary files: is there any way to trim their tails?
filename = "эта@с_хвостом.bin";
filename = "a_et@tailless";
)))
Or which tail did you mean?
filename = "эта@с_хвостом.bin";
filename = "a_ta@no_tail";
)))
Or which tail were you referring to?
You can move the pointer around the binary files, read and write from any place. Is there any way to delete, clear, from the current point to the end of the file? Is it possible to write a sign of the end of the file? Can it be reduced? Without overwriting.
Good afternoon.
There is such a question on binary files: is it possible somehow to trim their tail?
you can't
Look for a topic in section 4. There was such a question about a week ago and someone suggested a solution with WinAPI call (.dll)