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

Re[3]: LastBarOnChart work-around?



PureBytes Links

Trading Reference Links

On Saturday, October 13, 2001, 8:55:02 AM, Bob Fulks wrote:

BF> You are correct for real-time. It is not clear to me what
BF> LastBarOnChart means for real-time... Isn't every new bar the true
BF> LastBarOnChart?

True. I was trying to avoid the multiple executions for one 'last bar'
- it was a problem in what I was trying to do.

BF> The LastBarOnChart function uses the LastCalcDate and LastCalcTime
BF> functions which return the date and time of the last bar on a
BF> historical chart (even on the first bar of the chart).

BF> I do not know what it returns on a real-time chart.

I'm assuming it is the same thing, but haven't checked it out in
detail. I guess I'll find out on Monday...

Thanks,

ztrader