[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

Keith,

Use built-in function

LinearReg( Close, 14 );

instead. V4.14 or higher needed.

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "Keith Newhouse" <knewhous@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Friday, October 18, 2002 4:38 AM
Subject: [amibroker] Code for End Points of Linear Regression


> Hi Group,
> 
> Cany anyone help me with the AFL code for 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: 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 http://docs.yahoo.com/info/terms/ 
> 
> 
>