Example: Polynomial Regression for Spread Analysis

Example of applying polynomial regression channel to spreads or hedges between 2 assets.
Release Notes: changed method to support multivariate series as input to the polynomial regression function.
NOTE: this script is very demanding, it may time out if its processing too much data..
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


great direction of thinking!
any chance you write TrumpTweetCator ?

all the best :)
+4 Reply
Nice man :), good write, will have to play around with this and see if there is any strategies.
very interesting indicator, thanks for sharing!
No me funciona en NQ100
Home Stock Screener Forex Screener Crypto Screener Economic Calendar About Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Referred friends Coins My Support Tickets Help Center Private Messages Chat Sign Out