Class AdaptiveRsiAverage
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "AdaptiveRsiAverageDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602311")]
public class AdaptiveRsiAverage : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectAdaptiveRsiAverage
- Implements
- Inherited Members
- Extension Methods
Constructors
AdaptiveRsiAverage()
public AdaptiveRsiAverage()
Properties
PriceSmooth
[Display(ResourceType = typeof(Strings), Name = "Smooth", GroupName = "Values", Description = "SmoothPeriodFilterDescription", Order = 200)]
[Range(1, 10000)]
public FilterInt PriceSmooth { get; set; }
Property Value
RsiPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "RSI", Description = "PeriodDescription", Order = 100)]
[Range(1, 10000)]
public int RsiPeriod { get; set; }
Property Value
- int
RsiSmooth
[Display(ResourceType = typeof(Strings), Name = "Smooth", GroupName = "RSI", Description = "SmoothPeriodFilterDescription", Order = 110)]
[Range(1, 10000)]
public FilterInt RsiSmooth { get; set; }
Property Value
ScaleFactor
[Display(ResourceType = typeof(Strings), Name = "Scale", GroupName = "Values", Description = "ElementScaleValueDescription", Order = 210)]
[Range(1E-08, 2)]
public decimal ScaleFactor { get; set; }
Property Value
- decimal
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.
OnFinishRecalculate()
The method is executed after the end of the calculation.
protected override void OnFinishRecalculate()
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()