How to get slope cofficient

Posted By: tuuPaul

How to get slope cofficient - 03/05/19 10:29

hello all, how to get slope cofficient of regression line that estimates at any given period of bars?
Posted By: Brax

Re: How to get slope cofficient - 03/05/19 13:05

Use polyfit function:

https://www.zorro-trader.com/manual/en/polyfit.htm

An example of how to use it here (objective function in the last post):

https://opserver.de/ubb7/ubbthreads.php?...true#Post469722

Hope it helps.
Posted By: tuuPaul

Re: How to get slope cofficient - 03/06/19 02:30

thanks bro
© 2024 lite-C Forums