How to Save Default profile using MQL4

 

Hi, I will appreciate it very much if you could advice on how to save Default profile using MQL4.

The problem is that it looks like it is saved only when MT4 terminal exiting correctly, but when it crashed or so, Default profile is not saved.


Thanks,

Dmitry

 
Well, one way would be, close your mt4 manually and restart - than it can crash.
 
gooly:
Well, one way would be, close your mt4 manually and restart - than it can crash.
Are there any graceful ways to do so?
 
Not that I know
 
You can save the settings in the labels on the current chart, then when you restart terminal, check labels and read information from them.
 
Tecuciztecatl:
You can save the settings in the labels on the current chart, then when you restart terminal, check labels and read information from them.
Thank you for idea, Problem is that nothing is saved on the chart until I close MT4 and open it. So, in case of crash all objects are lost.
Reason: