Is moving LinearRegression of bar's close supported as a indicator ? If not, is there any example that I could use as a starting point ?

Author