LinearRegressionIntercept.Result
property · LinearRegressionIntercept · cAlgo.API.Indicators
DesktopCLICloud
The Result Series of the Linear Regression Intercept Indicator
Definition
IndicatorDataSeries Result {get;}
linearRegressionIntercept.Result: IndicatorDataSeries
Returns IndicatorDataSeries
Examples
var linearRegressionIntercept = Indicators.LinearRegressionIntercept(Bars.ClosePrices, 14);
var result = linearRegressionIntercept.Result.Last(1);
Print("Linear Regression Intercept of the last closed bar is = {0}", result);
linearRegressionIntercept = api.Indicators.LinearRegressionIntercept(api.Bars.ClosePrices, 14)
result = linearRegressionIntercept.Result.Last(1)
api.Print(f"Linear Regression Intercept of the last closed bar is = {result}")