Recently we got new features in Pine such Arrays of Lines, Labels and Strings. Thanks to the Pine Team! (here)
So I decided to make new style of indicator and I used Array of Lines in this script. here it is, RSI script. it shows for current time frame as it is and also it gets for the Higher Time Frame and converts it and shows it as in time frame. as you can see, for HTF moves to the right on each candle until higher time frame was completed.
You have color and line width options for both , also if you want you can limit the number of bars to show higher time frame by the option "Number of Bars for HTF", following example show HTF for 100 bars.
Most of you know that old style Multi Time Frames indicators was like:
Hope you like this new style ;)
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.