The indicator implements a breakthrough system using a channel drawn on extrema for a period.
When price exits the gray channel, the candlestick color changes to the color corresponding to trend direction. Blue for the growth of a financial asset, pink color – fall. Bright colors denote coincidence of trend direction and direction of a candlestick. Dark colors correspond to the situation when the direction of a candlestick is opposite to trend.
Figure 1. The PChannel_System indicator