Tradingview Cumulative Delta Candles Colors

I altered the original Tradingview "Cumulative Delta Candle" script in order to add the options of bar color and background color. Currently, I have to add it a second time to the page and place it within the price panel and omit the other options so we can have both the bar color and background color with a clear view of the trend. I am sure somebody can do better than my inabilities to code.

Disclaimer