The Flat Horizontal Channel Range Price indicator automatically draws a horizontal channel (range) of prices on a higher or current timeframe. This indicator was developed to simplify the determination of sideways movements of the market, as well as to search for entry signals for a pullback from the boundaries of a channel (range) or for its breakdown.
Input parameters:
BarsCount - 1000 - Number of bars to search for a horizontal channelAutoPeriodDraw - true - Enabled automatic drawing of a horizontal channel on a higher timeframePeriodCur - 60 - Timeframe for drawing a horizontal channel if AutoPeriodDraw = falsecolor_lin_up - color of the upper border of the channelcolor_lin_down - color of the lower border of the channellinestule - line stylelinewidth - line widthbackground - true - display in the backgroundVisibleText - true - Display of border name is enabledchanel_update_delay_tick - 100 - delay in redrawing the horizontal channel on a new bar