// Created by UCSgears -- Version 1 study(title="UCSGEARS - Linear Regression Curve", shorttitle="UCS-LRC", overlay=true) src = close len = input(defval=25, minval=1, title="Linear Regression Length") lrc = linreg(src, len, 0) plot(lrc, color = red, title = "Linear Regression Curve", style = line, linewidth = 2)
I would like to ask you for a small improvement to this one: the ability to apply the price calculations of the slope to High-Low-Open-Close prices.
I also need the ability to do the same in a DEMA (Double Exp MA) if you can help me :)
Thanks in advance!!!