Class FractalPart
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Part Fractals.
[IndicatorHidden]
[IndicatorOut(typeof(ShiftedIndicatorValue))]
public class FractalPart : LengthIndicator<(decimal high, decimal low)>, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
FractalPart
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Constructors
FractalPart(bool)
Initializes a new instance of the FractalPart.
public FractalPart(bool isUp)
Parameters
Properties
IsUp
Up value.
public bool IsUp { get; }
Property Value
Length
Period length. By default equal to 1.
public override int Length { get; set; }
Property Value
Methods
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Reset()
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
public override void Reset()