Class UpDownVolumeRatio
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "UpDownVolumeRatioDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000619242")]
public class UpDownVolumeRatio : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectUpDownVolumeRatio
- Implements
- Inherited Members
- Extension Methods
Constructors
UpDownVolumeRatio()
public UpDownVolumeRatio()
Properties
CalcMode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Calculation", Description = "CalculationModeDescription")]
public UpDownVolumeRatio.CalculationMode CalcMode { get; set; }
Property Value
HistogramColor
[Display(ResourceType = typeof(Strings), Name = "Color", GroupName = "Visualization", Description = "ColorDescription")]
public Color HistogramColor { get; set; }
Property Value
- Color
MovType
[Display(ResourceType = typeof(Strings), Name = "MovingType", GroupName = "Calculation", Description = "MovingTypeDescription")]
public UpDownVolumeRatio.MovingType MovType { get; set; }
Property Value
Period
[Parameter]
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Calculation", Description = "PeriodDescription")]
public int Period { get; set; }
Property Value
- int
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.
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()