SmoothBandsRsi merges Bollinger-like envelopes with RSI-based color-coded momentum signals. 

It computes an SMA over BandsPeriod, derives upper and lower bands using BandsDeviations × SD, normalizes and smooths prices (SmoothingPeriod), then maps them back to price scale as a trend line oscillating between bands.

The indicator draws the trend line, bands, and colored histogram bars/candles. RSI (RSI_Period, RSI_Price) triggers color changes when values exceed Overbought or drop below Oversold.