PROTECTED SOURCE SCRIPT

HLC Banded Quadratic Regression

Updated
High/Low/Close Banded Quadratic Regression is now available through this implementation, free for all to use. It's simple purpose is to plot multiple independent parabolic curvatures using a matrix equation that best fits the non-linear data sets of high, low, and close. Features include an available dark background disabled by default for the overlay chart, adjustable regression period, and a banding lines width adjustment. If you have any comments regarding this indicator, I will consider your thoughts and ideas presented below.
Release Notes
Revision includes color modifications for alterations to Pine, adding a few floating point numbers, and commenting in code. nothing visually noticeable.
Release Notes
Updated to PSv4.0 and... refactored the quadreg() algorithm for optimum efficiency in Pine. I also added I.P.O.C.S., so this puppy plots from bar_index==0. This now includes an added selectable x parameter for quadreg() of either bar_index or the "Period". I provided a "Fill Transparency" setting too.
bandsLinear Regressionquadraticregression

Protected script

This script is published closed-source and you may privately use it freely.

Want to use this script on a chart?

Disclaimer