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