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

Re: [amibroker] Displaying composite



PureBytes Links

Trading Reference Links

Graham,

This is by design. Foreign function MUST synchronize the data file
you are referencing with the currently selected symbol.

Synchronization makes sure that EACH bar of FOREIGN data
matches exactly with each bar of currently selected symbol

So if DateNum() function returns 990503 for given bar
then Close array represents the CLOSE of currently selected symbol at May 3, 1999
and Foreign("SYMBOL", "C") represents close of foreign symbol at May 3, 1999 TOO.

This is absolutely necessary because otherwise you won't be able
to do ANY meaningful operations involving both selected symbol and foreign symbol.

This also needed for the display so when you mark the quote with vertical
line it will always match the date displayed regardless if you use Foreign or not.

Otherwise you will end up in complete mess not knowing if data match or
not and what date is really represented.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "Graham" <gkavanagh@xxxxxxxxxxxxx>
To: "AB yahoo group" <amibroker@xxxxxxxxxxxxxxx>
Sent: Monday, July 28, 2003 7:42 AM
Subject: [amibroker] Displaying composite


> When I display a composite that is referenced by the foreign function I have
> found it only displays the chart as far back as the stock selected in the
> watchlist
> Eg I have a composite of my watchlist displayed in a panel using the Foreign
> function to define the OHLC from the composite. This data starts in 1985.
> Depending on which stock is selected for the main panels the composite only
> shows the data over the same period. Eg if the stock started trading in Aug
> 1998 that is where the composite chart begins, from that date. The true
> values are ok for current dates, it just seems to ignore everything before
> that start date.
> Does anyone else find this happening?
>
> Graham
>
>
>
> Send BUG REPORTS to bugs@xxxxxxxxxxxxx
> Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
> -----------------------------------------
> Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> --------------------------------------------
> Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Toner for Your Printer or Fax at LaserTonerSuperstore.com-Save 55%!
We have your brand: HP, IBM, Canon, Xerox, Apple and many more for less!
http://www.LaserTonerSuperstore.com
http://us.click.yahoo.com/YmQqWC/qicGAA/ySSFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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