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

[Metastockusers] curvilinear least squares regression



PureBytes Links

Trading Reference Links

Hello All,

Tech support tells me that there's no way to do curvilinear 
regression analysis in Metastock formula language.  They suggest 
getting a MetDevKit and create an external DLL and import the 
results to Metastock.  However, I don't know any programming 
language, and wonder if anyone knows of a resource somewhere that I 
could access.
What I'm interested in is the quadratic least squares curve, of the 
form Y=a+bX+cXsquared, with inputs for data array and lookback 
periods and which could be plotted as an indicator.  I'd also like 
to be able to plot and system test these associated formulas: 
Curvilinear Slope (b+c); Curvilinear rsquared; and Curvilinear 
Standard Error.
Although the definition formulas for the latter two are the same as 
for the built-in Linear Regression, the computation formulas are not 
as they are derived from the quadratic (parabolic) regression.
My reason for wanting this has probably occurred also to others: the 
moving Linear Regression tracks prices very well, better than any 
moving average, but lags at inflection points (changes in 
direction.)  The moving parabolic least squares is very likely to  
respond much faster.
Since it's likely that someone has already had this idea and these 
formulas exist somewhere in a form I could import to MetaStock, I'd 
certainly appreciate knowing about it.  Any other thoughts on this 
would also be welcome.
Thanks,
Dick 


------------------------ 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
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
Metastockusers-unsubscribe@xxxxxxxxxxx

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/