The indicator displays on the chart the previous trading day's channel. The indicator allows setting trading day start and end hours. Channels are displayed in different colors depending on whether the size of the previous day's channel is greater or smaller than the channel of the day before that.
The channel is only drawn after the closing time of the current trading day. Thus, the displayed previous day's channel can be used for trading in the current section, e.g. its levels can be used for breakout or roll-back trading.
The indicator has six input parameters:
Fig.1 A channel on the H1 chart
Fig.2 A channel on the M30 chart
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/20057