Class OrderFlow
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "OrderFlowDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602441")]
public class OrderFlow : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectOrderFlow
- Implements
- Inherited Members
- Extension Methods
Constructors
OrderFlow()
public OrderFlow()
Properties
AlertColor
[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "Alerts", Description = "AlertFillColorDescription", Order = 530)]
public Color AlertColor { get; set; }
Property Value
- Color
AlertFile
[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "Alerts", Description = "AlertFileDescription", Order = 520)]
public string AlertFile { get; set; }
Property Value
- string
AlertFilter
[Browsable(false)]
public decimal AlertFilter { get; set; }
Property Value
- decimal
AlertFilterMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Browsable(false)]
public string? AlertFilterMoney { get; set; }
Property Value
- string
AlertVolume
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "AlertFilter", GroupName = "Alerts", Description = "AlertFilterDescription", Order = 510)]
public VolumeFilter AlertVolume { get; set; }
Property Value
BorderColor
[Display(ResourceType = typeof(Strings), Name = "Border", GroupName = "Visualization", Description = "PenSettingsDescription", Order = 141)]
public PenSettings BorderColor { get; set; }
Property Value
Buys
[Display(ResourceType = typeof(Strings), Name = "Buys", GroupName = "Visualization", Description = "BuySignalColorDescription", Order = 110)]
public Color Buys { get; set; }
Property Value
- Color
CombineSmallTrades
[Display(ResourceType = typeof(Strings), Name = "CombineSmallTrades", GroupName = "Settings", Description = "CombineSmallTradesDescription", Order = 420)]
public bool CombineSmallTrades { get; set; }
Property Value
- bool
DoNotShowAboveChart
[Display(ResourceType = typeof(Strings), Name = "DoNotShowAboveChart", GroupName = "Visualization", Description = "DoNotShowAboveChartDescription", Order = 161)]
public bool DoNotShowAboveChart { get; set; }
Property Value
- bool
Filter
[Parameter]
[Browsable(false)]
[Range(0, 10000000)]
public decimal Filter { get; set; }
Property Value
- decimal
FilterMoney
[Browsable(false)]
public string? FilterMoney { get; set; }
Property Value
- string
Font
[Display(ResourceType = typeof(Strings), Name = "Font", GroupName = "Visualization", Description = "FontSettingDescription", Order = 130)]
public FontSetting Font { get; set; }
Property Value
LineColor
[Display(ResourceType = typeof(Strings), Name = "Line", GroupName = "Visualization", Description = "PenSettingsDescription", Order = 140)]
public PenSettings LineColor { get; set; }
Property Value
LinkingToBar
[Display(ResourceType = typeof(Strings), Name = "LinkingToBar", GroupName = "Location", Description = "OrderFlowLinkingToBarDescription", Order = 300)]
public bool LinkingToBar { get; set; }
Property Value
- bool
MinimumVolume
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "Settings", Description = "MinimumFilterDescription", Order = 400)]
public VolumeFilter MinimumVolume { get; set; }
Property Value
Offset
[Display(ResourceType = typeof(Strings), Name = "Offset", GroupName = "Location", Description = "LabelOffsetXDescription", Order = 310)]
[Range(0, 1000)]
public int Offset { get; set; }
Property Value
- int
Sells
[Display(ResourceType = typeof(Strings), Name = "Sells", GroupName = "Visualization", Description = "SellSignalColorDescription", Order = 120)]
public Color Sells { get; set; }
Property Value
- Color
ShowSmallTrades
[Display(ResourceType = typeof(Strings), Name = "ShowSmallTrades", GroupName = "Settings", Description = "ShowSmallTradesDescription", Order = 410)]
public bool ShowSmallTrades { get; set; }
Property Value
- bool
Size
[Display(ResourceType = typeof(Strings), Name = "Size", GroupName = "Visualization", Description = "ObjectSizeDescription", Order = 160)]
[Range(1, 200)]
public int Size { get; set; }
Property Value
- int
Spacing
[Display(ResourceType = typeof(Strings), Name = "Spacing", GroupName = "Visualization", Description = "SpaceBetweenObjectsDescription", Order = 150)]
[Range(1, 300)]
public int Spacing { get; set; }
Property Value
- int
SpeedInterval
[Display(ResourceType = typeof(Strings), Name = "SpeedInterval", GroupName = "Visualization", Description = "OrderSpeedIntervalDescription", Order = 170)]
[Range(100, 10000)]
public int SpeedInterval { get; set; }
Property Value
- int
TextColor
[Display(ResourceType = typeof(Strings), Name = "TextColor", GroupName = "Visualization", Description = "LabelTextColorDescription", Order = 135)]
public Color TextColor { get; set; }
Property Value
- Color
TradesMode
[Display(ResourceType = typeof(Strings), Name = "Trades", GroupName = "Settings", Description = "CalculationModeDescription", Order = 105)]
public OrderFlow.TradesType TradesMode { get; set; }
Property Value
UseAlerts
[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "Alerts", Description = "UseAlertsDescription", Order = 500)]
public bool UseAlerts { get; set; }
Property Value
- bool
ValuesInMoney
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "ValuesInMoney", GroupName = "Settings", Description = "ValuesInMoneyDescription", Order = 430)]
public bool ValuesInMoney { get; set; }
Property Value
- bool
VisMode
[Display(ResourceType = typeof(Strings), Name = "VisualMode", GroupName = "Settings", Description = "VisualModeDescription", Order = 100)]
public OrderFlow.VisualType VisMode { 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.
OnCumulativeTrade(CumulativeTrade)
Handles a cumulative trade event represented by a CumulativeTrade object.
protected override void OnCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTradeThe CumulativeTrade representing the cumulative trade data.
OnDispose()
Called when the indicator is being disposed.
protected override void OnDispose()
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()
OnNewTrade(MarketDataArg)
Handles an individual trade represented by a MarketDataArg object.
protected override void OnNewTrade(MarketDataArg trade)
Parameters
tradeMarketDataArgThe MarketDataArg representing the trade data.
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