This script was created by using Open Interest instead of in the .
Thus, it can make a difference in the Future and CFD Markets.
If your financial instrument is not from these markets, that is, if Open Interest is not used, you can choose .
You can set "FUTURES" and "OTHERS" from the menu.
If you use the Open Interest ( ) option in the menu on 1W bars and defined Future markets, it will not repaint.
This is the best use for Open Interests, as data is extracted from Quandl and CFTC reports are published once a week.
Color Change Rules :
In my version :
Green Bars = Green
Fade Bars = Orange
Fake Bars = Blue
Squat Bars = Red
To show the difference in the presentation, both the option using Open Interest and the Others option using were published to compare.
You can observe the difference.
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.