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

[amibroker] How is a backwards reference handled if there is missing data?



PureBytes Links

Trading Reference Links

Hi,
I am doing some calculations where I am referring to prior periods. 
Specifically, I am creating an indicator that sums values on the same 
hour of the day for the prior "n" days. My results seem a little 
inconsistent, so I have a question.

I am using 15 minute data and the database is configured with 15 
minutes as the base time interval.  So, when I say 

 Ref(C, -96) 

and there is some missing data at, say, -50 to -52, am I going to get 
the value of C 96 periods prior (24 hours * 4 15 min intervals) or am I 
going to get the value of C 99 periods prior because 3 of the 
intervening intervals had no data?

 - Kevin




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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/