Linear Regression between 2 or more symbols

Been looking on the forum and internet , not able to get any example or code to do the task. Can anyone help me on this please.

Unfortunately your question isn't clear enough and does not provide all necessary details to give you an answer. Please follow this advice: How to ask a good question

Thx Tomasz. I will rephrase it and ask again.

Actually, I need to work out the beta and alpha of say AAPL vs SPY. Seems the LinRegSlope function not catering for more than 1 array over a certain Period.

Any input will be welcome and much appreciated.

The syntax for charting is a little older but I think you will find the basics of what you need in the user library.

1 Like

You just need to read T.J. post here

1 Like