GatorHistogram

StockSharp.Algo.Indicators

The oscillator histogram GatorOscillator.

Inherits: BaseIndicator

Properties

Line1
public AlligatorLine Line1 { get; }
value = gatorHistogram.Line1

First line (Jaw vs Lips).

Line2
public AlligatorLine Line2 { get; }
value = gatorHistogram.Line2

Second line (Lips vs Teeth).

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

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

Methods

CloneAsync
public override ValueTask<IIndicator> CloneAsync(CancellationToken cancellationToken)
result = gatorHistogram.CloneAsync(cancellationToken)

Create a copy of GatorHistogram.

cancellationToken
CancellationToken

Returns: Copy.

LoadAsync
public override Task LoadAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = gatorHistogram.LoadAsync(storage, cancellationToken)

Load settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task

OnProcess
protected override IIndicatorValue OnProcess(IIndicatorValue input)
result = gatorHistogram.OnProcess(input)

To handle the input value.

input
The input value.

Returns: The resulting value.

SaveAsync
public override Task SaveAsync(SettingsStorage storage, CancellationToken cancellationToken)
result = gatorHistogram.SaveAsync(storage, cancellationToken)

Save settings.

storage
Settings storage.
cancellationToken
CancellationToken

Returns: Task