Class AwesomeOscillator
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "AODescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602325")]
public class AwesomeOscillator : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectAwesomeOscillator
- Implements
- Inherited Members
- Extension Methods
Constructors
AwesomeOscillator()
public AwesomeOscillator()
Properties
NegColor
[Display(ResourceType = typeof(Strings), Name = "Negative", GroupName = "Drawing", Description = "NegativeValueDescription", Order = 620)]
public Color NegColor { get; set; }
Property Value
- Color
NeutralColor
[Display(ResourceType = typeof(Strings), Name = "Neutral", GroupName = "Drawing", Description = "NeutralValueDescription", Order = 630)]
public Color NeutralColor { get; set; }
Property Value
- Color
P1
[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "LongPeriod", GroupName = "Settings", Description = "LongPeriodDescription", Order = 10)]
public int P1 { get; set; }
Property Value
- int
P2
[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "ShortPeriod", GroupName = "Settings", Description = "ShortPeriodDescription", Order = 10)]
public int P2 { get; set; }
Property Value
- int
PosColor
[Display(ResourceType = typeof(Strings), Name = "Positive", GroupName = "Drawing", Description = "PositiveValueDescription", Order = 610)]
public Color PosColor { get; set; }
Property Value
- Color
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.
ToString()
Converts the current instance of the indicator to its string representation.
public override string ToString()
Returns
- string
A string representation of the indicator.