[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OHLC Hourly function



PureBytes Links

Trading Reference Links

At 11:16 AM 4/1/2004, cosmictrader wrote:

>has anyone coded a function for retrieving hourly OHLC in intraday charts? 

If the time resolution you are using provides a bar ending on each hour, you can do something like:

   if Mod(TimeToMinutes(Time), 60) = 0 then begin
      <save values>
   end;

If not it is trickier.

Bob Fulks