![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Will you check?
Who's the question?
MT is messing up the off-line schedule - who else can figure it out? ;)
I hope you got the hint? ;o)))
If the spread changes all the time, that's fine. But if Digits was changing it would be funny =)))
I specifically checked, the digits come back correct. And it is written correct.
It is then zeroed out by MT.
Hence the whole numbers on the price scale...
I specifically checked, the digits come back correct. And it's recorded correctly.
It is then zeroed out by MT.
Hence the whole numbers on the price scale...
Is it possible that when the file is updated with new ticks from the EA, the digits value is also overwritten with the correct value (fight with the terminal)? Or will it do nothing since the terminal reads the digits value once from the file when opening it and does not check it again on every tick, like the spread?
I tried restarting with expert running.
I still need to fix the error...
The error still needs to be fixed...
OK, we'll wait. Maybe the developers can do it in the long run?
Maybe I misunderstood, but you (and not MT4 in-house) use your script to write *.HST files yourself and completely, then see error messages and ask us questions?
I use my script to create *.hst-file, open it offline and see the results.
And then (without script's participation and my intervention) file is spontaneously overwritten.
No third-party programs working with this file have been detected.
Here is the log from FileMonitor:
The log is made after all the manipulations I mentioned (in one of the previous posts). I.e. at the moment of MT opening.
There is no Expert Advisor on the chart. No program works with this file.
WS_EURUSD1440_byExpert.hst - created by Expert Advisor (we only connect the Expert Advisor, do not open the chart)
WS_EURUSD1440_byMT.hst - corrected MT (at the moment of opening the off-line chart).