I have problem "Recovering data from last run by GVs"
Stop removing the EA and causing your own problem.
HosseinKOGO: When I want restart VPS, I always Remove EA from chart, restart the VPS and attach the EA again to the chart.
HosseinKOGO #: I can not understand you. Please clarify what you mean.
HosseinKOGO #: I can not understand you. Please clarify what you mean.
What part of “Stop removing the EA” is unclear? Just close the terminal. On restart, the charts and your EA will be there.
Of course, it will. The EA is still attached to the chart(s). What part of “Stop removing the EA” was unclear?
Hi pals,
Hope you are having a nice day
When I want restart VPS, I always Remove EA from chart, restart the VPS and attach the EA again to the chart. However this time I forgot to remove(and reattach) and my data from last run which I always recover with OnInit(), corrupted :(
For now, I have 2 questions:
First, to just be cleared, what would happen by just closing the MT4 without removing the EA? Doesn't the OnDeinit() run? In this case after restarting the MT4, doesn't the OnInit() run before OnTick()?
Second, How can I make it automatically in my EA so if I forget to remove(and reattach), the EA run my GVs recovery? Any idea please?