How to Clear Bars Object
Author: Panache
Creation Date: 11/11/2015 5:35 PM
profile picture

Panache

#1
If I've already opened a Bars Object, does this clear it, so I can reuse it for something else, without worrying about there being any data left over? I know I can just open another Bars object, but I'm always obsessed with computational overhead.

CODE:
Please log in to see this code.


Specifically, if the symbol has 1000 bars the first time, and it only has 100 bars the second time, will there still be 900 bars left over from the previous use when I use it the second time?
profile picture

Cone

#2
Does this answer your question?

CODE:
Please log in to see this code.