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

Re: End of day detection in intraday data



PureBytes Links

Trading Reference Links


Nope, but nice try.  

In general, the last bar of a day is not the last bar on a chart.  (The last bar of a day is the last bar on a chart only when the day in question is the last day on the chart.  Remember, David wants to ID the last bar of a day for backtesting purposes.)


The Omega Man

Look straight ahead - nothing but blue skies

_____________________

Ron wrote:

If LastBarOnChart and condition then...

{ *******************************************************************

Function : LastBarOnChart

Last Edit : 6/13/96

Provided By : Omega Research, Inc. (c) Copyright 1996

********************************************************************}
LastBarOnChart = Date=LastCalcDate and Time=LastCalcTime;