Skip to content

PolynomialRegressionChannels.Sql2

property · PolynomialRegressionChannels · cAlgo.API.Indicators

DesktopCLICloud

Get the Polynomial Regression Channels Sql2 data series

Definition

IndicatorDataSeries Sql2 {get; set;}
polynomialRegressionChannels.Sql2: IndicatorDataSeries

Returns IndicatorDataSeries

Examples

var prc = Indicators.PolynomialRegressionChannels(3, 120, 1.62, 2);
if (Bars.LowPrices.Last(1) <= prc.Sql2.Last(1))
    Print("Price reached the second lower channel: {0}", prc.Sql2.Last(1));
prc = api.Indicators.PolynomialRegressionChannels(3, 120, 1.62, 2)
if api.Bars.LowPrices.Last(1) <= prc.Sql2.Last(1):
    api.Print(f"Price reached the second lower channel: {prc.Sql2.Last(1)}")