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

Re: [amibroker] Code for End Points of Linear Regression



PureBytes Links

Trading Reference Links


Sure,
 
<FONT face="Courier New" color=#8b0000 
size=2>Plot(<FONT 
face="Courier New" color=#8b0000 size=2>LinearReg<FONT 
face="Courier New" size=2>(<FONT face="Courier New" color=#ff0000 
size=2>C,<FONT 
face="Courier New" color=#800080 size=2>14<FONT face="Courier New" 
size=2>),<FONT face="Courier New" color=#00008b 
size=2>"LinReg",<FONT 
face="Courier New" color=#ff0000 size=2>colorRed<FONT 
face="Courier New" size=2>,<FONT face="Courier New" color=#800080 
size=2>1);
 
<FONT 
face=Tahoma>-CS
<FONT 
face=Tahoma> 
<FONT 
face=Tahoma> 
 
----- Original Message ----- 
<BLOCKQUOTE 
>
<DIV 
>From: 
Keith 
Newhouse 
To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, October 17, 2002 7:38 
PM
Subject: [amibroker] Code for End Points 
of Linear Regression
Hi Group,Cany anyone help me with the AFL codefor 
this Metastock End of Points of Linear Regression indicator, 
please.Regards,Keith*Linear Regression (14):(14 * 
Sum(Cum(1) * C,14) - Sum(Cum(1),14)* Sum(C,14)) /(14 * 
Sum(Pwr(Cum(1),2),14) - Pwr(Sum(Cum(1),14),2)) * Cum(1) + (Mov(C,14,S) - 
Mov(Cum(1),14,S) * (14 * Sum(Cum(1) * C,14) - Sum(Cum(1),14) * 
Sum(C,14))/(14 * Sum(Pwr(Cum(1),2),14) - 
Pwr(Sum(Cum(1),14),2)))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.