This is a modified version of ZigZag indicator that draws lines with different colors depending on the price movement direction.