One of the options for implementing a regression channel on Meta Trader 5.
The Regression channel consists of two lines equidistant from the top and bottom of the regression trend line. The distance between the channel boundaries and the regression line is equal to the value of the deviation of the maximum closing price from the regression line.