Class HRanges
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "HRangesDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602573")]
public class HRanges : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectHRanges
- Implements
- Inherited Members
- Extension Methods
Constructors
HRanges()
public HRanges()
Properties
BarsRange
[Parameter]
[Range(0, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "BarsCountFilter", Description = "BarsRangeDescription")]
public int BarsRange { get; set; }
Property Value
- int
Days
[Range(0, 10000)]
[Display(ResourceType = typeof(Strings), GroupName = "Calculation", Name = "DaysLookBack", Order = 2147483647, Description = "DaysLookBackDescription")]
public int Days { get; set; }
Property Value
- int
HideAllBarsFilter
[Display(ResourceType = typeof(Strings), Name = "HideAll", GroupName = "BarsCountFilter", Description = "HideBarsCountUnfilteredRangesDescription")]
public bool HideAllBarsFilter { get; set; }
Property Value
- bool
HideAllVolume
[Display(ResourceType = typeof(Strings), Name = "HideAll", GroupName = "VolumeFilter", Description = "HideMaxVolumeUnfilteredRangesDescription")]
public bool HideAllVolume { get; set; }
Property Value
- bool
MaxVolumeFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "VolumeFilter", Description = "MaxMaxVolumeFilterDescription")]
public VolumeFilter MaxVolumeFilter { get; set; }
Property Value
NeutralColor
[Display(ResourceType = typeof(Strings), Name = "FlatColor", GroupName = "Visualization", Description = "NeutralColorDescription")]
public Color NeutralColor { get; set; }
Property Value
- Color
SwingDnColor
[Display(ResourceType = typeof(Strings), Name = "BreakDnColor", GroupName = "Visualization", Description = "BearishColorDescription")]
public Color SwingDnColor { get; set; }
Property Value
- Color
SwingUpColor
[Display(ResourceType = typeof(Strings), Name = "BreakUpColor", GroupName = "Visualization", Description = "BullishColorDescription")]
public Color SwingUpColor { get; set; }
Property Value
- Color
VolumeColor
[Display(ResourceType = typeof(Strings), Name = "MaxVolColor", GroupName = "Visualization", Description = "MaxVolColorDescription")]
public Color VolumeColor { get; set; }
Property Value
- Color
VolumeFilter
[Parameter]
[Browsable(false)]
[Range(0, 2147483647)]
public decimal VolumeFilter { get; set; }
Property Value
- decimal
VolumeFilterMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? VolumeFilterMoney { get; set; }
Property Value
- string
Width
[Range(1, 100)]
[Display(ResourceType = typeof(Strings), Name = "Width", GroupName = "Visualization", Description = "WidthDataSeriesDescription")]
public int Width { get; set; }
Property Value
- int
Methods
OnApplyDefaultColors()
Invoked to apply default colors to the drawing elements.
protected override void OnApplyDefaultColors()
Remarks
This method can be overridden in derived classes to customize or set default color values for the drawing elements. When this method is called, it is an opportunity for the derived class to apply its own default color scheme to the drawing elements used in the specific implementation.
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.
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()
OnValuationChanged()
Not in ATAS 8.0.15 yet: available from the next version.
protected override void OnValuationChanged()