AdaptiveLaguerreFilter
StockSharp.Algo.Indicators
Adaptive Laguerre Filter indicator.
Inherits: BaseIndicator
Constructors
AdaptiveLaguerreFilter
public AdaptiveLaguerreFilter()
adaptiveLaguerreFilter = AdaptiveLaguerreFilter()
Initializes a new instance of the AdaptiveLaguerreFilter.
Properties
Gamma
public decimal Gamma { get; set; }
value = adaptiveLaguerreFilter.Gamma
adaptiveLaguerreFilter.Gamma = value
Gamma parameter.
Methods
LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptiveLaguerreFilter.LoadAsync(storage, cancellationToken)
Load settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = adaptiveLaguerreFilter.OnProcess(input)
To handle the input value.
- input
- The input value.
Returns: The resulting value.
Reset
public override void Reset()
adaptiveLaguerreFilter.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).
SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = adaptiveLaguerreFilter.SaveAsync(storage, cancellationToken)
Save settings.
- storage
- Settings storage.
- cancellationToken
- CancellationToken
Returns: Task
ToString
public override string ToString()
result = adaptiveLaguerreFilter.ToString()
Returns a string representation of the tuple, with values separated by commas.
Returns: A string representing the tuple's values.