The 9 bar > 26 bar = up color;
The 9 bar < 26 bar = down color;
The 9 bar == 26 bar = neutral color.
I have included notes about how to put it on a chart in the code; basically I recommend using hollow candles without borders.
On the attached chart I have the along with the . I find this makes a very clean chart with quite a bit of information, especially when the messages conflict or converge.
To tell the truth, I still prefer to just work with the clouds for support / resistance guidelines, but these paintbars are a nifty way of including more information without cluttering up the chart. Enjoy.
PS I just realised I published this as an idea instead of as a script. Will go do that now.