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

[amibroker] Re: setforeign bug



PureBytes Links

Trading Reference Links


tomasz,
This happens not only with aapl but also with other stocks. I just 
gave you aapl as an example.

I also use tradestation for intraday trading. I got the data from 
tradestation and this same formula works fine with TS. Ofcourse, I 
cannot test this at a portfolio level with TS, that's why I want to 
use AB.

ken


--- In amibroker@xxxxxxxxxxxxxxx, "Tomasz Janeczko" <amibroker@xxxx> 
wrote:
> Hello,
> 
> There is no bug, simply your data is misaligned.
> Check again because AAPL is for sure not updated to the same
> data as QQQ.
> 
> Please read the documentation
> http://www.amibroker.com/f?foreign
> 
> (about synchronizing arrays)
> 
> Best regards,
> Tomasz Janeczko
> amibroker.com
> ----- Original Message ----- 
> From: "k_binder_" <k_binder_@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Wednesday, October 06, 2004 9:17 AM
> Subject: [amibroker] setforeign bug
> 
> 
> > 
> > 
> > I have a database with 2 stocks, qqq and aapl in it. Both are 
daily 
> > data for 2004, upto 9/3/2004. My layout has both charts in it.
> > I run the following code:
> > 
> > SetForeign("qqq");
> > qROC = ROC(Close, 3);
> > RestorePriceArrays();
> > 
> > Filter = 1;
> > AddColumn(qROC, "QROC");
> > 
> > I find that when I "explore" aapl with this formula, "QROC" is 
> > shifted back 1 bar. like ref(qROC, -1) instead of qROC. When I 
select 
> > qqq, everything is properly aligned.
> > 
> > Has anyone experienced this?
> > 
> > Any help will be appreciated.
> > thanks,
> > ken 
> > 
> > 
> > 
> > 
> > 
> > 
> > Check AmiBroker web page at:
> > http://www.amibroker.com/
> > 
> > Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> > Yahoo! Groups Links
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> >





------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

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

<*> 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/