OPEN-SOURCE SCRIPT

Basis D/C

By JJPhat
Updated
Normalizes Basis and Price between 1 and -1 a set number of bars back, default is 40 bars back but can be changed.
Release Notes
Added user defined symbol inputs so script wont break when contract expires. User can add latest.
Trend Analysis

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer