Class ADF
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "ADFDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602569")]
public class ADF : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectADF
- Implements
- Inherited Members
- Extension Methods
Constructors
ADF()
public ADF()
Properties
Period
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "Settings", Description = "SMAPeriodDescription", Order = 100)]
[Range(1, 10000)]
public int Period { get; set; }
Property Value
- int
UsePrev
[Display(ResourceType = typeof(Strings), Name = "UsePreviousClose", GroupName = "Settings", Description = "UsePreviousCloseDescription", Order = 110)]
public bool UsePrev { get; set; }
Property Value
- bool
Methods
OnCalculate(int, decimal)
The main indicator calculation method is called for each bar on the history, then it is called on each tick.
protected override void OnCalculate(int bar, decimal value)
Parameters
barintBar number.
valuedecimalInput data series value.