Class ActiveVolume
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "ActiveVolumeDescription")]
[HelpLink("https://help.atas.net/ru-RU/support/solutions/articles/72000608343-active-volume")]
[FeatureId("070459C1-1655-4824-BB31-8B2BE78EEB4D")]
public class ActiveVolume : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectActiveVolume
- Implements
- Inherited Members
- Extension Methods
Constructors
ActiveVolume()
public ActiveVolume()
Properties
AskProfileValueColor
[Display(ResourceType = typeof(Strings), Name = "AskColor", GroupName = "Profile", Description = "ProfileAskValueColorDescription", Order = 60)]
public Color AskProfileValueColor { get; set; }
Property Value
- Color
BidProfileValueColor
[Display(ResourceType = typeof(Strings), Name = "BidColor", GroupName = "Profile", Description = "ProfileBidValueColorDescription", Order = 50)]
public Color BidProfileValueColor { get; set; }
Property Value
- Color
Creator
Added in ATAS 8.0.15.
[Display(ResourceType = typeof(Strings), Name = "Author", GroupName = "Info", Description = "IndicatorAuthorDescription", Order = 10)]
public string Creator { get; }
Property Value
- string
DateFrom
[Display(ResourceType = typeof(Strings), Name = "SessionBegin", GroupName = "Settings", Description = "SessionBeginDescription", Order = 80)]
public DateTime DateFrom { get; set; }
Property Value
- DateTime
DigitsAfterComma
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "DigitsAfterComma", GroupName = "Settings", Description = "DigitsAfterCommaDescription", Order = 90)]
public int DigitsAfterComma { get; set; }
Property Value
- int
Filter
[Browsable(false)]
[Range(0, 2147483647)]
public int Filter { get; set; }
Property Value
- int
FilterExact
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public decimal FilterExact { get; set; }
Property Value
- decimal
FilterMoney
[Browsable(false)]
public string? FilterMoney { get; set; }
Property Value
- string
MinVolumeFilter
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "Settings", Description = "MinVolumeFilterCommonDescription", Order = 10)]
public VolumeFilter MinVolumeFilter { get; set; }
Property Value
Mode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Profile", Description = "CalculationModeDescription", Order = 10)]
public ActiveVolume.CalcMode Mode { get; set; }
Property Value
Offset
[Display(ResourceType = typeof(Strings), Name = "Offset", GroupName = "Settings", Description = "TableOffsetXDescription", Order = 70)]
public int Offset { get; set; }
Property Value
- int
ProfileFillColor
[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "Profile", Description = "ProfileFillColorDescription", Order = 40)]
public Color ProfileFillColor { get; set; }
Property Value
- Color
ProfileOffset
[Display(ResourceType = typeof(Strings), Name = "Offset", GroupName = "Profile", Description = "ProfileOffsetXDescription", Order = 30)]
public int ProfileOffset { get; set; }
Property Value
- int
ProfileWidth
[Range(0, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Width", GroupName = "Profile", Description = "ProfileWidthPixelsDescription", Order = 20)]
public int ProfileWidth { get; set; }
Property Value
- int
RowWidth
[Range(0, 500)]
[Display(ResourceType = typeof(Strings), Name = "RowWidth", GroupName = "Settings", Description = "TableCellWidthPixelsDescription", Order = 30)]
public int RowWidth { get; set; }
Property Value
- int
ShowAsk
[Display(ResourceType = typeof(Strings), Name = "ShowAsk", GroupName = "Settings", Description = "ShowAsksDescription", Order = 50)]
public bool ShowAsk { get; set; }
Property Value
- bool
ShowBid
[Display(ResourceType = typeof(Strings), Name = "ShowBid", GroupName = "Settings", Description = "ShowBidsDescription", Order = 40)]
public bool ShowBid { get; set; }
Property Value
- bool
ShowSum
[Display(ResourceType = typeof(Strings), Name = "ShowVolume", GroupName = "Settings", Description = "ShowVolumesDescription", Order = 60)]
public bool ShowSum { 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.
OnCumulativeTrade(CumulativeTrade)
Added in ATAS 8.0.15.
protected override void OnCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTrade
OnCumulativeTradesResponse(CumulativeTradesRequest, IEnumerable<CumulativeTrade>)
Added in ATAS 8.0.15.
protected override void OnCumulativeTradesResponse(CumulativeTradesRequest request, IEnumerable<CumulativeTrade> cumulativeTrades)
Parameters
requestCumulativeTradesRequestcumulativeTradesIEnumerable<CumulativeTrade>
OnDispose()
Called when the indicator is being disposed.
protected override void OnDispose()
OnFinishRecalculate()
The method is executed after the end of the calculation.
protected override void OnFinishRecalculate()
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()
OnRender(RenderContext, DrawingLayouts)
Added in ATAS 8.0.15.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextlayoutDrawingLayouts
OnUpdateCumulativeTrade(CumulativeTrade)
Added in ATAS 8.0.15.
protected override void OnUpdateCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTrade
OnValuationChanged()
Called when an exchange rate, the money display currency or the instrument model changed (Changed of Valuation). Indicators that show volumes in money recalculate or redraw them here. May be called on any thread.
Not in ATAS 8.0.15 yet: available from the next version.
protected override void OnValuationChanged()