Colin,
 
You can also use SetForeign():
 
http://www.amibroker.com/guide/afl/afl_view.php?id=247
 
SetForeign can be very useful when you
want massage data more extensively with one symbol and then move to a different
symbol.   For example:
 
SetForeign (Symbol1);
IntermediateResult1 = <some calc>; 
IntermediateResult2 = <some calc>;
IntermediateResult3 = <some calc>;
IntermediateResult4 = <some calc>;
IntermediateResult5 = <some calc>;
Final Result = IntermediateResult1 + IntermediateResult1 + …
Plot(FinalResult);
 
SetForeign (Symbol2);
…
 
I use Foreign and SetForeign a lot, and PlotForeign
very little.  Part is driven by what I’m coding and part driven by
personal style.   
 
Regards,
 
Dan.
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of gunovanengel
Sent: Wednesday, November 16, 2005
2:01 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: newbie
question(s)
 
 
See
http://www.amibroker.com/guide/afl/afl_view.php?id=54
http://www.amibroker.com/guide/afl/afl_view.php?id=115
--- In amibroker@xxxxxxxxxxxxxxx,
"cwest" <cwest@xxxx> wrote:
>
> When writing an indicator how do you refer to
more than 1 symbol 
so that its
> data can be used in a calculation?
>  
> Thankyou
> Colin
>
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.html
    
  
  
    SPONSORED LINKS
  
       
  
  
  
  YAHOO! GROUPS LINKS