Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/7351
The Regression Channel is based on the Linear Regression Trend, which represents a usual trend line plotted between two points on a price chart using the method of least squares.MTF_PSAR
The Parabolic SAR was also developed by Welles Wilder for use in trending markets. The author of this indicator recommended to identify the trend first, and only after that to use the PSAR for trading with the trend.