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