Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Nowhere without you - 6. - page 896
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
how do you read the last line of the textfile?
I can't figure out how to read backwards.
Hello, could you please tell me what I need to change in the script to make it work under build 765 MT4? It worked on earlier builds but not on this one. Taken from here https://www.mql5.com/ru/code/9507.
Hello, pros. I am struggling with the spread. Some solution: I have two zeroed one-dimensional arrays that are gradually filled with price values at each tick - Ask and Bid. How to find an element with the maximum index and not equal to zero in the resulting array?
Please tell me the function that returns the number of digits after the decimal point. 15 minutes of browsing through the documentation, I know it exists, but I can't find it.
The problem is that normalizeDouble sometimes outputs 1.23499999999999999 or 1.234500000000001 and stoploops or profits are not working as the program monitors. I need to know how many digits after the decimal point are in a number to rewrite it manually if it is larger than the digits variable.At first I found some kind of output doubleToString and back stringToDouble, but while testing all the same there were some moments when even after that the inaccuracy was low.
Somewhere in the documentation there was a warning that you should not directly compare numbers of double type and compare their difference with zero or a valid value.