For me the normal barcount -1 option gives the value of the feed of the current date and not the candle I have selected in the chart screen via Double Click. Basically the printf and the Barcount -1 values do not match (not sure if I am selecting the candle incorrectly)
I know you will say RTFM very soon but trying my luck anyway