Drop Variable Values(Buffer) Before Look-Back Period.
Can we drop the stored values of data,indicator values(Eg. self.line0, self.data0 etc.) before the look-back period(if there is no use of data for further analysis like plotting ,return calculation etc.), which will be essentially useful in memory(RAM) optimization.
If yes, then Could you suggest the possible way ?
Check out Docs - Saving memory
exactbarsparameter is what you are looking for.