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
-
IPersistableICloneable<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
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
inputIIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storageSettingsStorageSettings storage.