PureBytes Links
Trading Reference Links
|
I'm intrigued by the LinearReg function. I've read the manual, and 'am no
further forward. I would have expected 3 inputs. viz price, calculation
length i.e. number of bars to consider, and projection length i.e. how many
bars does one wish to look into the future. Could someone please explain
what value LinearReg returns.
Many thanks
----- Original Message -----
From: "C.S." <csaxe@xxxxxxx>
To: "MetaStock List" <metastock@xxxxxxxxxxxxx>
Sent: Wednesday, October 17, 2001 9:44 PM
Subject: Re: hello from a newbie
> Maurice,
> The Bollinger Band oscillator equation as listed by Steve is also a great
> start for further modification and experimentation.
> Sometimes when I need some further damping of the signal without inducing
> too much lag, I use (or a variant of):
>
> V1:=Input("Std. Dev. periods",2,250,20);
> V2:=Input("Mov periods",2,250,20);
> V3:=Input("LinReg periods",2,50,5);
> V4:=Input("Upper Threshold",-100,100,70);
> V5:=Input("Lower Threshold",-100,100,35);
> V6:=LinearReg(C,V3);
> V4;V5;
> ((V6+2*Std(V6,V1)-Mov(V6,V2,S))/(4*Std(V6,V1)))*100;
>
> Experiment away...
> -Corey Saxe
>
>
>
|