Updated version of the original indicator posted by Cunparis. Same logic. I found that the colors were not serialized and if you changed any of the bar colors upon saving the template & re-loading, they reverted back to the original default colors. I added serialization to the indicator code so that if you decide to change the default colors, once you save your template, the color changes will be saved also.