---
id: "P:cAlgo.API.Indicators.PolynomialRegressionChannels.Sql2"
kind: "property"
type: "T:cAlgo.API.Indicators.PolynomialRegressionChannels"
url: "https://help.ctrader.com/ctrader-algo/references/Indicators/PolynomialRegressionChannels/Sql2/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# PolynomialRegressionChannels.Sql2

Member of [PolynomialRegressionChannels](https://help.ctrader.com/ctrader-algo/references/Indicators/PolynomialRegressionChannels/index.md).

## Sql2

Get the Polynomial Regression Channels Sql2 data series

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
IndicatorDataSeries Sql2 {get; set;}
```

Python:

```python
polynomialRegressionChannels.Sql2: IndicatorDataSeries
```

### Returns

`IndicatorDataSeries` — 

### Examples

C#:

```csharp
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));
```

Python:

```python
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)}")
```

