Is it possible to set persistent variables that can be stored and re-used?
Example:
On the first 5-min bar, I would like to set a variable bSomeValue = 1. And on the last 5-bar I would like to re-use that bSomeValue variable again.
Is this possible? Or are all variables lost after each completed bar?

Comment