[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [amibroker] linear regression



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Dan,
there 
are several built in functions that look at lin reg. from 
help.....
<FONT face=Arial color=#0000ff 
size=2> 


  
  
    
      <FONT 
      color=#0000ff>LINEARREG- linear regression 
      end-point
    
      Statistical 
      functions(AFL 
2.2)



  
  
    
      <FONT face=Arial 
      color=#0000ff>SYNTAX 
    
      LinearReg( ARRAY, 
      periods ) 
  
    
      <FONT face=Arial color=#0000ff 
      size=2>RETURNS
    
      ARRAY 
    
  
    
      <FONT face=Arial 
      color=#0000ff>FUNCTION 
    
      Calculates linear 
      regression line end-point value according to a + b * x (where a and b are 
      intercept and slope of linear regression line) from the ARRAY using 
      periods range. 
  
    
      <FONT face=Arial color=#0000ff 
      size=2>EXAMPLE
    
      LinearReg( close, 10 ); 
      
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: ashleykateinez 
[mailto:amarones@xxxxxxx]Sent: Thursday, September 11, 2003 8:19 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] linear 
regressionDoes anyone know how create an indicator that 
calculates the 21 day linear regression of closing 
prices?Thanks,DanSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor












Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html



Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.