Hi - Data retrieved via Foreign() is synchronized to the data of the current ticker, i.e. dates/times are aligned, so probably your data for DCO and ATN ends a little sooner than the others? Try plotting basic price chart and then changing the current ticker to see if those tickers have one less bar or something.
Steve ----- Original Message ----- From: "adrianmollenhorst" <[email protected]> To: <[email protected]> Sent: Friday, September 04, 2009 8:51 AM Subject: [amibroker] Strange behaviour of foreign > Hi, > > Something really simple, but it's confounding me. I am using IQFeed data > and the following code: > > f = Foreign("LMIA","C"); > Plot(f,"f",colorBlue); > > > When the open chart is LMIA,ATHN, or a few others, the last value for f is > 9.20 (the correct last price of LMIA). When I use some other charts, such > as DCO, or ATN for example, it's 8.90 (The second to last price). > > Why am I not getting the last price when using these other symbols? > > Adrian > > > > ------------------------------------ > > **** IMPORTANT PLEASE READ **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > TO GET TECHNICAL SUPPORT send an e-mail directly to > SUPPORT {at} amibroker.com > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > http://www.amibroker.com/feedback/ > (submissions sent via other channels won't be considered) > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > Yahoo! Groups Links > > > >
