There are many possible reasons for this to happen, and it is impossible to
guess what it is. What I can suggest is a way to find out what causes the
problem yourself.
Create an exploration usng addcolumn to list out the value of V, do that on
various symols that you would view from. including the ticker ~AdvIss
itself, and find out what sort of volume you would get. and take it from
there.


  _____  

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Ed Cottrell
Sent: Tuesday, 25 March 2008 5:13 AM
To: 'AmiBroker Group'
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



 

Reply via email to