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
}