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

reading bars when there's no data



PureBytes Links

Trading Reference Links

An intraday indicator I use looks back 12 bars on a 15 minute chart to
create a period of 3 hours. When there's no data like there was today, it
creates a false reading, because if there are no ticks, EasyLanguage assumes
there was no bar, and therefore no passage of time. The time length of the
period is then off, and at one point today it was looking back about 3 hrs
and 45 minutes because of no data on 3 bars. This doesn't happen enough to
spend much time on it, but is there a simple way to code for this?

Thanks,
Lincoln