PolynomialRegressionChannels.Sql
property · PolynomialRegressionChannels · cAlgo.API.Indicators
DesktopCLICloud
Get the Polynomial Regression Channels Sql data series
Definition
IndicatorDataSeries Sql {get; set;}
polynomialRegressionChannels.Sql: IndicatorDataSeries
Returns IndicatorDataSeries
Examples
var prc = Indicators.PolynomialRegressionChannels(3, 120, 1.62, 2);
if (Bars.LowPrices.Last(1) <= prc.Sql.Last(1))
Print("Price reached the lower channel: {0}", prc.Sql.Last(1));
prc = api.Indicators.PolynomialRegressionChannels(3, 120, 1.62, 2)
if api.Bars.LowPrices.Last(1) <= prc.Sql.Last(1):
api.Print(f"Price reached the lower channel: {prc.Sql.Last(1)}")