Is there a way to convert an array into a series object?
On a bar chart I am generating a Renko series in an array. I only add values to the array as new Renko bricks are needed. I would like to use this array as an input to indicator series such as sma(). But the indicators will only take a series object as input.
I have tried calling a function using efsInternal each time I add a brick to the array, but it gets really slow. It does generate a series, but the performance is unacceptable. It seems to essentially reload the chart every time I call efsInternal.
Is there a faster way to do this?
It seems like there should be a series method to add values to a series. Like the reverse of getValue().
Thanks,
Steve
On a bar chart I am generating a Renko series in an array. I only add values to the array as new Renko bricks are needed. I would like to use this array as an input to indicator series such as sma(). But the indicators will only take a series object as input.
I have tried calling a function using efsInternal each time I add a brick to the array, but it gets really slow. It does generate a series, but the performance is unacceptable. It seems to essentially reload the chart every time I call efsInternal.
Is there a faster way to do this?
It seems like there should be a series method to add values to a series. Like the reverse of getValue().
Thanks,
Steve
Comment