Disliked{quote} Well if the MT4 gets rebooted. The data in the RAM is gone. So if you want to have a feature like windows sleep/hibernate where when you set it to sleep and login again, you see the same setting as before it put to sleep/hibernate... Then.... it gets complicated. I need to have a database or have some kind of file to store the last setting. And the MQL4 should have some kind of a function that can detect whether the MT4 is closed because of system error or human error. But I don't think such exist. If it does, then we could work it out on...Ignored
Attached Image
Self discipline It is a practice
1