DetrendedSyntheticPrice

StockSharp.Algo.Indicators

Detrended Synthetic Price indicator.

Inherits: BaseIndicator

Constructors

DetrendedSyntheticPrice
public DetrendedSyntheticPrice()
detrendedSyntheticPrice = DetrendedSyntheticPrice()

Initializes a new instance of the DetrendedSyntheticPrice.

Properties

Length
public int Length { get; set; }
value = detrendedSyntheticPrice.Length
detrendedSyntheticPrice.Length = value

Length of the indicator.

NumValuesToInitialize
public override int NumValuesToInitialize { get; }
value = detrendedSyntheticPrice.NumValuesToInitialize

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Methods

CalcIsFormed
protected override bool CalcIsFormed()
result = detrendedSyntheticPrice.CalcIsFormed()

Calc IsFormed.

Returns: IsFormed

Load
public override void Load(SettingsStorage storage)
detrendedSyntheticPrice.Load(storage)

Load settings.

storage
Settings storage.
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = detrendedSyntheticPrice.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

Reset
public override void Reset()
detrendedSyntheticPrice.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).

Save
public override void Save(SettingsStorage storage)
detrendedSyntheticPrice.Save(storage)

Save settings.

storage
Settings storage.
ToString
public override string ToString()
result = detrendedSyntheticPrice.ToString()

Преобразовать к строковому представлению.

Returns: Строковое представление.