Unsolved What is the correct format for a set to append a new candlestickset to a candlestickseries?
-
I have been trying various ways of defining a new candlestickset item so I can use the "append(set)" function of the candlestickseries, but I can't seem to find the correct way of defining it.
function a(open, high, low, close, timestamp) { var i = ??? cs.append(i) } CandleStickSerie { id: cs }
-
Shouldn't the parameter for append () be a CandlestickSet?
CandlestickSet { id: theID; timestamp: 1435708800000; open: 690; high: 694; low: 599; close: 660 } cs.append(theID)