mkheidzedavid:
It's talking about Global Variables not variables . . . do not confuse globally declared variables/variables with global scope with Global Variables.
Hello,
I read the manual and found the rules regarding the variables getting deleted unless they are not used for long or does not change value. I got a little confused regarding the variables declared outside of the start() function.
I take one of the lowest price point for some period of time and store it in a variable which I have declared outside of start(). It is not a global variable. I need this variable to persist its value for long time (e.g. 2-3 months). My question is: is there any danger that the variable loses its value?
Thank you

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
Hello,
I read the manual and found the rules regarding the variables getting deleted unless they are not used for long or does not change value. I got a little confused regarding the variables declared outside of the start() function.
I take one of the lowest price point for some period of time and store it in a variable which I have declared outside of start(). It is not a global variable. I need this variable to persist its value for long time (e.g. 2-3 months). My question is: is there any danger that the variable loses its value?
Thank you