Help with Bar Indicator

 

Hello,

I need help coding a bar indicator---if you know the indicator "os gaussian trend", it displays 4 timeframes in bar format with the least timeframe on top and progressively higher timeframes appearing underneath.

Well I would like to code a similar indicator using for example the RSI but instead of displaying 4 differing timeframes I would like it to display 4 different periods of the RSI layered in a similar bar format

Am I making any sense? Can I get some HELP?

Attached is a picture of os gaussian trend so that you may get a clearer understanding of my dilemma.

 
No attachment.
 

Sorry, still new to this. . . 

Heres the attachment


os gaussian trend

Reason: