I am struggling with building a DataSeries (or something similar). I am looking for a way that I can build a dataseries that is similar to the Bars Object created when I call the "add" method, but that I can write to and read from. So far I've had no luck.
Basically I'm trying to create a "custom dataseries" that contains open, high, low, close etc in its array, then use it by passing it to something like Stochastic() which uses the open, high, low and close. I can create a Bars Object using 'Add' but then I can't write anything to it. Is there a way to create a Bars Object that looks just like the one created by "Add" but that I can manipulate myself?
I'd apprecate it if anyone could point me in the right direction.
Thanks
Steve
Comment