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

[amibroker] Help: How to determine a future bar is available, i.e. ref(c,5)



PureBytes Links

Trading Reference Links

Hi,

How to determine a future bar is available? i.e. 4 days from today?

If I use ref(c,5) to get value, it is 0 if is not available. Can I use it to determine whether the bar is available? Or there is a better solution?

I would like to do some calculations if a few future bars are available. Or else, I will stop the calculations. How to determine that?

Thank you in advance.

Clement



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html





YAHOO! GROUPS LINKS