It can be useful to view information normally displayed in a second pane overlaid on the price chart. As far as I know, this has not been done for one of the most widely used indicators, the .
This can be overlaid anywhere on the chart and every parameter is variable. If you'd like to change the position, the , midline, upper line, and lower line are scaled with a factor "*close/x"
To change the position on the chart, simply change the "X" until you are pleased with the location.
The MA was distracting so I removed it. I also published this indicator including the MA, titled "RSI Overlay with MA."
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.