OPEN-SOURCE SCRIPT
Contango/Backwardation Monitor

This is an indicator to display the spread difference between two products. I designed it around VX1! and VX2! but any other two products can be chosen. It is a simple subtraction of VX2-VX1. I will go through the options first and what they do followed by what contango/backwardation is in my own words. You will need the data package for VX futures for the default version to work.
INPUTS
-Apply Smoothing: choose to apply smoothing or not.
-Smoothing Method: choose between SMA,EMA,WMA, etc.
-Line Width: Width of line if line is chosen style(can be changed in style section)
-Threshold 1-5: This is the level at which the line will change colors(defaults are for VX)
-Color 1-5: The color the line will change to when crossing threshold.
Towards Backwardation: Background color change when line is slanted down
Towards Contango: Background color change when line is slanted up
Bars to Confirm Trend: This is my method to cut down on background color changes. It is how many bars consecutive going back needed to change color.
STYLE
-All colors and whatnot can be changed here(threshold colors can be changed here or on the input page).
T1 Line-T5 line: These are simple horizontal lines that can be used to denote threshold areas or whatever you want.
Contango/Backwardation-These terms are used mostly with futures to define the calendar spread between two contracts. Contango is when that spread is is getting longer and backwardation is when that spread is closing. In terms of VIX futures, Contango would imply that volatility is stabilizing and the S and P will likely gain. Backwardation, woudl eb the opposite.
The most simple way to read this indicator with default settings- If the line is up, red, and the background is red, then you can assume S and P prices are going down. And if the opposite is true, then prices are likely going up.
Please feel free to ask any questions and I will do my best to answer them.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Stream daily on---- youtube.com/@NoMorePaperTrading -----
I don't sell memberships, signals, mentorships or anything. My only goal is to become a profitable trader.
No More Paper Trading --- discord.gg/ZNGBXwjyqR ---
I don't sell memberships, signals, mentorships or anything. My only goal is to become a profitable trader.
No More Paper Trading --- discord.gg/ZNGBXwjyqR ---
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
Stream daily on---- youtube.com/@NoMorePaperTrading -----
I don't sell memberships, signals, mentorships or anything. My only goal is to become a profitable trader.
No More Paper Trading --- discord.gg/ZNGBXwjyqR ---
I don't sell memberships, signals, mentorships or anything. My only goal is to become a profitable trader.
No More Paper Trading --- discord.gg/ZNGBXwjyqR ---
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。