PureBytes Links
Trading Reference Links
|
My Linear Regression Value function will let you do this. (Attached ELA)
It uses a much faster and more accurate algorithm and gives the same value as the TradeStation function. It also lets you change any input on every bar.
Bob Fulks
At 10:24 PM +0100 8/27/02, Ian Waugh wrote:
>Hi All,
> I'd like to calculate the LinearRegValue, changing the value of
>Length on a bar by bar basis. The code would be something like:
>
>Len=0;
>Len=Len+1;
>plot1(LinearRegValue(close,Len,TargetB);
>etc...
>
>However, you cannot alter the value of Len for LinearRegValue on a bar
>by bar basis.
>
>Any ideas how I can do this?
Attachment:
Description: "LINREG.ELA"
Attachment:
Description: "%LINREG.ELA"
|