Rewrote output holder function to handle both double[] and int[]
outputs. Candlestick outputs now work.