Class PeakBar
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
PeakBar.
[Display(ResourceType = typeof(LocalizedStrings), Name = "PeakBar", Description = "PeakBar")]
[IndicatorIn(typeof(CandleIndicatorValue))]
public class PeakBar : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
PeakBar
- Implements
-
IPersistableICloneable<IIndicator>
- Inherited Members
- Extension Methods
Remarks
Constructors
PeakBar()
Initializes a new instance of the PeakBar.
public PeakBar()
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
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.