| 
 PureBytes Links 
Trading Reference Links 
 | 
| 
 Try this: 
  
MA1periods= 50;
MA2periods= 100;
MA3periods= 200;
if (Name()=="MSFT")
{ 
MA1periods= 10;
MA2periods= 21;
MA3periods= 50;
} 
else  
if (Name()=="INTC")
{ 
mA1periods = 16;
mA2periods = 12;
mA3periods = 13;
} 
Plot (C,"close",colorBlack,styleCandle);
Plot (MA(C,MA1periods),"ma1",colorWhite,styleLine);
Plot (MA(C,MA2periods),"ma2",colorBlue,styleLine);
Plot (MA(C,MA3periods),"ma3",colorRed,styleLine); 
  ----- Original Message -----  
  
  
  Sent: Thursday, August 04, 2005 2:40 
  PM 
  Subject: [amibroker] Re: Indicator window 
  not reloading when selecting a new symbol 
  
  still don't work, need to reload indicator window for each 
  stock and  scan.
 
  --- In amibroker@xxxxxxxxxxxxxxx, Wilson 
  <wiz899@x...> wrote: > try this.. 
   >  if(Name()=="IBM")  > { > SA1 = 20; > SA2 = 
  9; > SA3 = 11; > N = 19; > } > else > { > 
  SA1 = 10; > SA2 = 10; > SA3 = 10; > N = 10; > 
  } >  > if(Name()=="INTC") > { > SA1 = 16; > SA2 
  = 12; > SA3 = 13; > N = 3; > } >  > 
  Wilson >  >  On 8/4/05, angus_83210 <rduncan@xxxx> 
  wrote:  > >  > > Is there a way to make Amibroker reload the 
  indicator window  each  > > time I change symbols. I like to use 
  different Parameters for  > > differnt stocks. When I change stocks, 
  it keeps my old param.  Here  > > is what I am doing: > > 
   > > if(Name()=="IBM")  > > { > > SA1 = 20; > 
  > SA2 = 9; > > SA3 = 11; > > N = 19; > > 
  } > > if(Name()=="INTC") > > { > > SA1 = 
  16; > > SA2 = 12; > > SA3 = 13; > > N = 3; > 
  > } > >  > > If I have "IBM" up and add my indicator, it 
  is correct. When I  > > select "INTC" it still using "IBM"'s param. 
  It also uses "IBM"'s  > > param when I do a scan. Does anyone know a 
  work around for this  bug? > >  > >  > > 
  Thank > >  > >  > >  > >  > > 
   > > 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 <http://amibroker.com/> > > 
   > > For other support material please check also: > > http://www.amibroker.com/support.html > 
  >  > >  > >  > >  > >  
  ------------------------------ > > YAHOO! GROUPS LINKS  > > 
   > >  > >    - Visit your  group 
  "amibroker<http://groups.yahoo.com/group/amibroker>" 
   > >    on the web. > 
  >     - To unsubscribe from this group, send an email 
  to: > >    
  amibroker-unsubscribe@xxxxxxxxxxxxxxx<amibroker- unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe> > 
  >     - Your use of Yahoo! Groups is subject to the 
  Yahoo! Terms  of  > >    Service <http://docs.yahoo.com/info/terms/>. 
   > >  > >  > >  
  ------------------------------ > >
 
  
  
    
  No virus found in this incoming message. Checked by AVG 
  Anti-Virus. Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 
  8/4/2005
  
  
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
 
 
    
 |  
 No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 8/4/2005
 
 |