This script draws supertrend for current and higher time frame, it automatically calculates higher time frame and you don't need to adjust it when you change the period.
it also change the color of bars according to current and HTF supertrend, so you can see the trend by looking at bars color.
Bar color is lime if trend is up and red if trend is down. but if you see white bars then there is movement opposite the main trend.
if you like it please comment.
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.
Sorry if i dont understand, i am pretty new here, but if i understand this correctly: If i have a 5 minute chart, it calculates all other supertrends that is higher than that? 15 min, 30 min, 45 min, 1 hour, 2 hour, 3 hour, 4 hour, 1 day and son on. I think you know what i mean:) Or does it only calculate one time frame that is higer then that the one i am currently standing on? For example if i have a 4 hour chart it only calculates 1 day supertrend also? If i have a 5 minute chart on my chart and it calculates all the higher time frames then i should always use 5 minute chart right? And see the supertrend there.
Thanks in advance,