The LinearRegression-Point values should be linear increased or decreased depending on current close values over the given periods.
//Each of them has to be changed by the linear gradient but it isn’t as you can see in my screen shot!
//Where is the programming mistake?