FOR MQL DEVELOPERS: DO NOT USE EVENTS FROM TIMERS TO WRITE SOMETHING TO FILE
I lost few day with this bug in metatrader. I do not uderstand why but it seems that there is some bad memory access in case you are writing data in thread from timer event. It is OK from beginning but after some time it will write different values into file than you give as parameter into FileWrite function. Interesting ... They needs employ more testers (seems they think that one tester is enough).
I will commit changes to SBaket indicator today or tomorrow.
I lost few day with this bug in metatrader. I do not uderstand why but it seems that there is some bad memory access in case you are writing data in thread from timer event. It is OK from beginning but after some time it will write different values into file than you give as parameter into FileWrite function. Interesting ... They needs employ more testers (seems they think that one tester is enough).
I will commit changes to SBaket indicator today or tomorrow.