Class OIAnalyzer
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "OIAnalyzerDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602437")]
public class OIAnalyzer : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectOIAnalyzer
- Implements
- Inherited Members
- Extension Methods
Constructors
OIAnalyzer()
public OIAnalyzer()
Properties
Author
Added in ATAS 8.0.15.
[Display(ResourceType = typeof(Strings), Name = "Author", GroupName = "Copyright", Order = 200, Description = "IndicatorAuthorDescription")]
public string Author { get; }
Property Value
- string
BearishFontColor
[Display(ResourceType = typeof(Strings), Name = "BearishColor", Order = 200, GroupName = "AxisTextColor", Description = "AxisTextColorDescription")]
public Color BearishFontColor { get; set; }
Property Value
- Color
BorderColor
Added in ATAS 8.0.15.
[Display(ResourceType = typeof(Strings), Name = "BorderColor", Order = 180, GroupName = "Visualization", Description = "BullishColorDescription")]
public Color BorderColor { get; set; }
Property Value
- Color
CalculationMode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", Order = 140, GroupName = "Calculation", Description = "CalculationModeDescription")]
public OIAnalyzer.CalcMode CalculationMode { get; set; }
Property Value
ClustersMode
[Display(ResourceType = typeof(Strings), Name = "ClustersMode", Order = 150, GroupName = "Calculation", Description = "ClustersModeDescription")]
public bool ClustersMode { get; set; }
Property Value
- bool
CumulativeMode
[Display(ResourceType = typeof(Strings), Name = "CumulativeMode", Order = 150, GroupName = "Calculation", Description = "CumulativeTradesModeDescription")]
public bool CumulativeMode { get; set; }
Property Value
- bool
CustomDiapason
[Display(ResourceType = typeof(Strings), Name = "Enabled", GroupName = "CustomDiapason", Description = "UseCustomDiapasonDescription", Order = 100)]
public bool CustomDiapason { get; set; }
Property Value
- bool
DownColor
[Display(ResourceType = typeof(Strings), Name = "BearlishColor", Order = 170, GroupName = "Visualization", Description = "BearishColorDescription")]
public Color DownColor { get; set; }
Property Value
- Color
FilterRange
[IsExpanded]
[Display(ResourceType = typeof(Strings), Name = "Range", GroupName = "CustomDiapason", Description = "ValuesRangeDescription", Order = 105)]
public OIAnalyzer.Range FilterRange { get; set; }
Property Value
FontColor
[Display(ResourceType = typeof(Strings), Name = "BullishColor", Order = 190, GroupName = "AxisTextColor", Description = "AxisTextColorDescription")]
public Color FontColor { get; set; }
Property Value
- Color
GridStep
[Display(ResourceType = typeof(Strings), Name = "GridStep", Order = 160, GroupName = "Grid", Description = "GridRowHeihgtDescription")]
[Range(1, 1000000)]
public int GridStep { get; set; }
Property Value
- int
OiMode
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Mode", Order = 130, GroupName = "Calculation", Description = "BuySellModeDescription")]
public OIAnalyzer.Mode OiMode { get; set; }
Property Value
Pen
[Display(ResourceType = typeof(Strings), Name = "Line", GroupName = "Grid", Order = 170, Description = "GridLineSettingsDescription")]
public PenSettings Pen { get; set; }
Property Value
ShowCurrentValue
[Display(ResourceType = typeof(Strings), Name = "ShowCurrentValue", Order = 170, GroupName = "Visualization", Description = "ShowCurrentValueDescription")]
public bool ShowCurrentValue { get; set; }
Property Value
- bool
UpColor
[Display(ResourceType = typeof(Strings), Name = "BullishColor", Order = 180, GroupName = "Visualization", Description = "BullishColorDescription")]
public Color UpColor { get; set; }
Property Value
- Color
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>)
Called when a response for a cumulative trades request is received.
protected override void OnCumulativeTradesResponse(CumulativeTradesRequest request, IEnumerable<CumulativeTrade> cumulativeTrades)
Parameters
requestCumulativeTradesRequestThe CumulativeTradesRequest object representing the original request.
cumulativeTradesIEnumerable<CumulativeTrade>The collection of CumulativeTrade representing cumulative trades data.
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()
OnRender(RenderContext, DrawingLayouts)
Override this method for implementing your own data rendering logic.
protected override void OnRender(RenderContext g, DrawingLayouts layout)
Parameters
gRenderContextlayoutDrawingLayoutsThe layout information for the drawing.
OnUpdateCumulativeTrade(CumulativeTrade)
Handles an update event for a cumulative trade represented by a CumulativeTrade object.
protected override void OnUpdateCumulativeTrade(CumulativeTrade trade)
Parameters
tradeCumulativeTradeThe CumulativeTrade representing the updated cumulative trade data.