BorysekPL:
Read the documentation about Global Variables
I want save results of counting to use them when next tick induce reaction in EA and there will be next counting.
A Variable that will still have a value from last counting to the next counting even when meantime course will change. Even better if it will still have this value when i shut down computer and turn it on again, but this is not required.
Can you help me?
Thanks
BorysekPL:
A Variable that will still have a value from last counting to the next counting even when meantime course will change.
Even better if it will still have this value when i shut down computer and turn it on again, but this is not required.
- A static or globally declared (common) variables retain their values between calls to start(). They are lost when the EA is removed (chart closed, terminal close, OS reboot, etc.)
- Global Variables retain their values when the terminal is properly closed. They will NOT be saved to disk if the terminal is killed, OS reboot, etc.
- Only persistent storage (writing to a file on any modification) insures that the values will be there on restart.
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
I want save results of counting to use them when next tick induce reaction in EA and there will be next counting.
A Variable that will still have a value from last counting to the next counting even when meantime course will change. Even better if it will still have this value when i shut down computer and turn it on again, but this is not required.
Can you help me?