Class OpenInterest
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "OpenInterestDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602439")]
public class OpenInterest : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectOpenInterest
- Implements
- Inherited Members
- Extension Methods
Constructors
OpenInterest()
public OpenInterest()
Properties
AlertBGColor
[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "Alerts", Description = "AlertFillColorDescription")]
public Color AlertBGColor { get; set; }
Property Value
- Color
AlertFile
[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "Alerts", Description = "AlertFileDescription")]
public string AlertFile { get; set; }
Property Value
- string
AlertForeColor
[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "Alerts", Description = "AlertTextColorDescription")]
public Color AlertForeColor { get; set; }
Property Value
- Color
ChangeSize
[Range(0, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "RequiredChange", GroupName = "Alerts", Description = "AlertFilterDescription")]
public decimal ChangeSize { get; set; }
Property Value
- decimal
Filter
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "Filters", Description = "MaximumFilterDescription")]
[Range(0, 100000000)]
public decimal Filter { get; set; }
Property Value
- decimal
FilterColor
[Display(ResourceType = typeof(Strings), Name = "FilterColor", GroupName = "Filters", Description = "FilterCandleColorDescription")]
public Color FilterColor { get; set; }
Property Value
- Color
MinimizedMode
[Display(ResourceType = typeof(Strings), Name = "MinimizedMode", GroupName = "Settings", Description = "HistogramMinimizedModeDescription")]
public bool MinimizedMode { get; set; }
Property Value
- bool
Mode
[Display(ResourceType = typeof(Strings), Name = "Mode", GroupName = "Settings", Description = "CalculationModeDescription")]
public OpenInterest.OpenInterestMode Mode { get; set; }
Property Value
UseAlerts
[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "Alerts", Description = "UseAlertsDescription")]
public bool UseAlerts { get; set; }
Property Value
- bool
ValuesInMoney
[Display(ResourceType = typeof(Strings), Name = "ValuesInMoney", GroupName = "Settings", Description = "OpenInterestValuesInMoneyDescription")]
public bool ValuesInMoney { get; set; }
Property Value
- bool
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()