Table of Contents

Class TroughBar

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

TroughBar.

[Display(ResourceType = typeof(LocalizedStrings), Name = "TroughBar", Description = "TroughBarDesc")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class TroughBar : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
Inheritance
TroughBar
Implements
IPersistable
ICloneable<IIndicator>
Inherited Members
Extension Methods

Remarks

Constructors

TroughBar()

Initializes a new instance of the TroughBar.

public TroughBar()

Properties

ReversalAmount

Indicator changes threshold.

[Display(ResourceType = typeof(LocalizedStrings), Name = "Threshold", Description = "ThresholdDesc", GroupName = "General")]
public Unit ReversalAmount { get; set; }

Property Value

Unit

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnProcess(IIndicatorValue)

To handle the input value.

protected override IIndicatorValue OnProcess(IIndicatorValue input)

Parameters

input IIndicatorValue

The input value.

Returns

IIndicatorValue

The resulting value.

Save(SettingsStorage)

Save settings.

public override void Save(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.