Moving Average Deviation Coloring of the bars

How is the Moving Average Deviation calculated ?
What is the meaning of the Green , Red and White Bars ? I see no help on this.