Linear Regression Line - indicator MetaTrader 4

Author: not specified. The mathematical formula expressing the linear regression looks the following way:у = а + bx, where: у - close price; х - position of the current time period in the database; а - 1/п (Ey - bEх); b - ...

from https://tradingrobots.net/linear-regression-line-indicator-for-metatrader-4-2/