How to shift an indicator

Hi guys, I created an indicator that has an array with size=24 and each day at Midnight It does a calculation changing those 24 values, I would like to visualize It with a histogram: If we are on the 1H chart at Midnight It should print the histogram with the first value under the Midnight candle and the other values to follow (so It should be like shifted on the right were the pa 'Is not there yet'), how can I display the array like this?
William Roeder
William Roeder  
On MT4, you would set the shift to 24 (SetIndexShift) and put midnight's value at index 24, 11pm's estimate at index zero.