QuantCoder:
So first I assign the global variable buy/sellvar in the code above, then I try to use that same global variable in another function below:
However, I get a 1-3 minute delay from when the variable is assigned in my first function and used in my second function. Why?
is it because I have my second function in the int start() function? but doesnt start() run after every new tick that comes in?
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
So first I assign the global variable buy/sellvar in the code above, then I try to use that same global variable in another function below:
However, I get a 1-3 minute delay from when the variable is assigned in my first function and used in my second function. Why?