Why do I have a delay in my code? Can somebody provide a possible improvement?
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?
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?