OPEN-SOURCE SCRIPT

Front Contract Roll Detector (TV-mapped 1!)

121
This script looks at the security.instrument and finds the current best matching price for the current instrument on a front loaded contract.


This is very useful for detecting when TradingView rolls over contracts and an alert can be put in place for this.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.