I thought the easiest way to do this would be:
Value.Set(Close[0] - Close[1]);
I would like it to display how far it moved in the last 60 mins at any instant in time, not just the last 60 min bar on a chart i.e. 11:00 to 11:59. So I set CalculateOnBarClose to false.
However this doesn't show the results I am expecting. I think this shows how far it moved since the close of the last bar.
How should I achieve what I want? Shall I forget about trying to use 60 mins bars and use 10 second bars and just calculate the number of bars in a 60 min interval? Or is there a simpler way?
Thanks

Comment