Syntax
Public FunctionLinearRegressionForecast(applyTo As ENUM_APPLIED_PRICE, period As Integer) As String
|
Linear regression is a common statistical method used to forecast values using least squares fit.
Parameters
Key | Description |
applyTo | Value can be one of ENUM_APPLIED_PRICE |
period | Period as integer |
Return value
Returns the handles of a technical indicator, in case of failure returns an empty string.
See Also