LinearRegSlope
StockSharp.Algo.Indicators
Linear regression gradient.
Inherits: DecimalLengthIndicator
Constructors
LinearRegSlope
public LinearRegSlope()
linearRegSlope = LinearRegSlope()
Initializes a new instance of the LinearRegSlope.
Properties
Measure
public override IndicatorMeasures Measure { get; }
value = linearRegSlope.Measure
IndicatorMeasures.
Methods
OnProcessDecimal
protected override decimal? OnProcessDecimal(IIndicatorValue input)
result = linearRegSlope.OnProcessDecimal(input)
To handle the input value.
- input
- The input value.
Returns: The new value of the indicator.