Indicator programming + Time

 

Hi,
I have problems with programming an indicator. How can I code it, that the indicator shows a special value from 8 to 9 o'clock every day?

I only can code it from the time I start the indicator with the
"iBarShift(NULL,TimeFrame,startzeit);" - function.

But how can I do it for the past?!
At the time it put the indicator on the chart it calculates the old values in reference to the actuall time.

I would be very, very grateful if anybody can give me a hint!

 
 

Thank you very much, it works great!!