You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
If you want to retain value of variables - when changing extern input or changing TF or changing symbol - then you can save them in deinit.
On changing TF/symbol, deinit and init will be called. Global and static variables are not reset.
But on BSOD, or power glitch, reboots, etc, deinit will not be called and GVs by GlobalVariableSet() will not be written to disk.
Persistent storage requires you to write a disk file when anything saved has changed, each time (each tick)
On changing TF/symbol, deinit and init will be called. Global and static variables are not reset.
But on BSOD, or power glitch, reboots, etc, deinit will not be called and GVs by GlobalVariableSet() will not be written to disk.
Persistent storage requires you to write a disk file when anything saved has changed, each time (each tick)