I am able to preserve and accumulate values across bars within one execution of the script using "var", but I need to take this one step further.
On the last ba