This is a local polynomial regression of price data. It does not give any explicit prediction, but it helps to show the overall trend and movement of price. Due to limitation of Pine, this script can only calculate for a limited length of price series, and the order of polynomial regression cannot be too high.