| 
 DM  McCleod1981 
  
Or the one that always seem to happen to me is - make 
sure your current ticker symbol in the AA window 
is valid and has enough bars to calculate the composite 
over the intended range.   
I think I'm correct in 
saying that AB reserves memory and bases it's calculations on the 
number of bars of the ticker displayed in the 
selection window <Enter ticker here>.  If you have an invalid ticker 
(like the ticker from the last calculation of an ATC variable that was unsuccessful) then the next ATC calcs will not 
work also. 
  
Best regards JOE  
  ----- Original Message -----  
  
  
  Sent: Thursday, October 20, 2005 1:42 
  AM 
  Subject: Re: [amibroker] ATC 
  Question 
  
  yes you can, it may be how you wrote the code to write the 
  data to composite
  On 10/20/05, dmcleod1981 <dmcleod1981@xxxxxxxxx> 
  wrote: > Can I use the Ref function in adding historical data to a 
  composite? > > For example if I want to create a composite of the 
  number of up closes > each day close>Ref(close,-1)?  I don't get 
  any data so my guess is > that I am either using this wrong or this 
  function can't be used. > > Thanks > 
  DM > > > > > > > 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 > > > 
  Yahoo! Groups 
  Links > > > > > > > > >
 
  -- Cheers Graham AB-Write 
  >< Professional AFL Writing Service Yes, I write AFL code to your 
  requirements http://e-wire.net.au/~eb_kavan/ab_write.htm 
  
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
 
 
    
  |