Class CumulativeDelta
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "CumulativeDeltaDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602360-cumulative-volume-delta")]
public class CumulativeDelta : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectCumulativeDelta
- Implements
- Inherited Members
- Extension Methods
Constructors
CumulativeDelta()
public CumulativeDelta()
Properties
AlertBGColor
[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "Alerts", Description = "AlertFillColorDescription", Order = 150)]
[Tab(TabName = "Alerts", TabOrder = 2, ResourceType = typeof(Strings))]
public Color AlertBGColor { get; set; }
Property Value
- Color
AlertFile
[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "Alerts", Description = "AlertFileDescription", Order = 120)]
[Tab(TabName = "Alerts", TabOrder = 2, ResourceType = typeof(Strings))]
public string AlertFile { get; set; }
Property Value
- string
AlertForeColor
[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "Alerts", Description = "AlertTextColorDescription", Order = 140)]
[Tab(TabName = "Alerts", TabOrder = 2, ResourceType = typeof(Strings))]
public Color AlertForeColor { get; set; }
Property Value
- Color
BorderColorFilter
[Display(ResourceType = typeof(Strings), Name = "BorderColor", GroupName = "Drawing", Description = "BorderColorDescription", Order = 240)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public FilterColor BorderColorFilter { get; set; }
Property Value
CandleModeFilter
[Display(ResourceType = typeof(Strings), Name = "Mode", GroupName = "Drawing", Description = "ElementDisplayModeDescription", Order = 250)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public FilterEnum<CandleVisualMode> CandleModeFilter { get; set; }
Property Value
ChangeSize
[Browsable(false)]
public decimal ChangeSize { get; set; }
Property Value
- decimal
ChangeSizeFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "RequiredChange", GroupName = "Alerts", Description = "AlertFilterDescription", Order = 130)]
[Tab(TabName = "Alerts", TabOrder = 2, ResourceType = typeof(Strings))]
public VolumeFilter ChangeSizeFilter { get; set; }
Property Value
ChangeSizeMoney
[Browsable(false)]
public string? ChangeSizeMoney { get; set; }
Property Value
- string
CustomSessionStart
[Display(ResourceType = typeof(Strings), Name = "CustomSessionStart", GroupName = "Settings", Description = "CustomSessionStartDescription", Order = 25)]
[Tab(TabName = "Data", TabOrder = 0, ResourceType = typeof(Strings))]
public TimeSpan CustomSessionStart { get; set; }
Property Value
- TimeSpan
IsVisible
[Display(ResourceType = typeof(Strings), Name = "Visible", GroupName = "Drawing", Description = "IsVisibleDescription", Order = 270)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public bool IsVisible { get; set; }
Property Value
- bool
LineStyleFilter
[Display(ResourceType = typeof(Strings), Name = "LineStyle", GroupName = "Drawing", Description = "LineDashStyleDescription", Order = 290)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public FilterEnum<LineDashStyle> LineStyleFilter { get; set; }
Property Value
Mode
[Display(ResourceType = typeof(Strings), Name = "VisualMode", GroupName = "Settings", Description = "ChartDisplayModeDescription", Order = 10)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public CumulativeDelta.SessionDeltaVisualMode Mode { get; set; }
Property Value
NegColor
[Display(ResourceType = typeof(Strings), Name = "Negative", GroupName = "Drawing", Description = "NegativeValueColorDescription", Order = 220)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public Color NegColor { get; set; }
Property Value
- Color
PosColor
[Display(ResourceType = typeof(Strings), Name = "Positive", GroupName = "Drawing", Description = "PositiveValueColorDescription", Order = 210)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public Color PosColor { get; set; }
Property Value
- Color
SessionCumDeltaMode
[Display(ResourceType = typeof(Strings), Name = "SessionDeltaMode", GroupName = "Settings", Description = "SessionModeDescription", Order = 20)]
[Tab(TabName = "Data", TabOrder = 0, ResourceType = typeof(Strings))]
public CumulativeDelta.SessionMode SessionCumDeltaMode { get; set; }
Property Value
SessionDeltaMode
[Browsable(false)]
public bool SessionDeltaMode { get; set; }
Property Value
- bool
ShowValue
[Display(ResourceType = typeof(Strings), Name = "ShowValue", GroupName = "Drawing", Description = "ShowValueOnLabelDescription", Order = 260)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public bool ShowValue { get; set; }
Property Value
- bool
TextColor
[Display(ResourceType = typeof(Strings), Name = "TextColor", GroupName = "Drawing", Description = "AxisTextColorDescription", Order = 230)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public Color TextColor { get; set; }
Property Value
- Color
UseAlerts
[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "Alerts", Description = "UseAlertsDescription", Order = 110)]
[Tab(TabName = "Alerts", TabOrder = 2, ResourceType = typeof(Strings))]
public bool UseAlerts { get; set; }
Property Value
- bool
UseScale
[Display(ResourceType = typeof(Strings), Name = "UseScale", GroupName = "Settings", Description = "DisplayFromZeroDescription", Order = 30)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public bool UseScale { get; set; }
Property Value
- bool
WidthFilter
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Width", GroupName = "Drawing", Description = "WidthDataSeriesDescription", Order = 280)]
[Tab(TabName = "Visualization", TabOrder = 1, ResourceType = typeof(Strings))]
public FilterInt WidthFilter { get; set; }
Property Value
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()
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()