I tried to use StaticVarSet, however, seems like it didn't carry over the proper value to the next bar. I tried to debug it by exploring and this is the result :
From my understanding, after I do the StaticVarSet, it has to remember to value and when I call StaticValueGet in the next day(bar), it must use the saved data from previous day but it's not what I thought.
Or I understand this wrongly?
Thanks in advance for any feedback!