RSI plot OHLC

I have Relative Strength Index indicator plots regular manner. But want it to plot OHLC. I have RSI java script script which Tradovate generate.

Please any body give code for RSI plot OHLC.

Thanks a lot,