PureBytes Links
Trading Reference Links
|
Hello Jose,
Please may I ask you a question about your useful Linear Regression
Trendline Channel v2.0 indicator?
I have created a LR Bands indicator thus:
Pds:=Input("LR Periods",2,100,20);
SD:=Input("Standard Deviations",0,3,2);
LR:=LinearReg(C,Pds,S,1);
Upper:=LR + Stdev(LR,Pds)*SD;
Lower:=LR - Stdev(LR,Pds)*SD;
Upper;
LR;
Lower;
When I plot this indicator together with your Channel indicator, I would
expect to see the three lines converge. The LR lines do but the
Bands/Channels don't.
I see that in your code, you have made an adjustment to the calculation of
the Standard Deviation. Would you mind explaining the reasoning behind that
part of your formula? And, as I'm at it, why do you favour a value of 63 as
your default?
Thanks in advance.
Regards,
Kevin
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/zMEolB/TM
---------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Metastockusers/
<*> To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|