Share Writing Into a File
Why did you post your MT4 question in the MT5 General section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon.
I have this project in which I need to execute two trades instantly among two different brokers. I use the native MQL4 function such as FileOpen and FileWrite to communicate the orders between brokers.
What I had an issue with is that some orders will not write to the file if it was previously opened without OrderClose() being called.
This is causing a lot of frustration to me for a month now. Can someone advise me on the best practices for share writing within mql4 environment.
This is my code for writing:
This is for reading: