I definitely do not have any data holes for the stocks I'm viewing. They mostly trade very heavily (GOOG, MSFT, HD, etc.).
Thanks for the ideas, though! -Ed From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Ara Kaloustian Sent: Monday, March 24, 2008 1:41 PM To: [email protected] Subject: Re: [amibroker] Problems with Foreign() Make sure the stock you are viewing does not have data holes. If you are viewing a stock that trades lightly, you will also not see volumes for the bars missing from the stock. ----- Original Message ----- From: Ed Cottrell <mailto:[EMAIL PROTECTED]> To: 'AmiBroker <mailto:[email protected]> Group' Sent: Monday, March 24, 2008 11:13 AM Subject: [amibroker] Problems with Foreign() Hello all, I am using Foreign() to calculate STIX (an advance/decline stat). I have already used AddToComposite to count advances and declines over a certain group of stocks and store that info in the volume for ~AdvIss and ~DecIss. Here's my problem: if I plot one of those composites using Foreign("~AdvIss", "V"), the output depends on which stock I am viewing in my main chart. For some stocks, I get the actual volume number stored in ~AdvIss; for the rest, I get zero. What am I doing wrong here? Thanks, Ed
<<image001.gif>>
<<image002.gif>>
