Class VolumeSupResZones
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "VolumeSupResZonesDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000619397")]
public class VolumeSupResZones : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectVolumeSupResZones
- Implements
- Inherited Members
- Extension Methods
Constructors
VolumeSupResZones()
public VolumeSupResZones()
Properties
AlertBGColor
[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "Alerts", Description = "AlertFillColorDescription")]
[DataMember]
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 = "Foreground", GroupName = "Alerts", Description = "AlertTextColorDescription")]
[DataMember]
public Color AlertForeColor { get; set; }
Property Value
- Color
DisplayMode1
[Display(ResourceType = typeof(Strings), Name = "DisplayMode", GroupName = "TimeFrame1", Description = "ElementDisplayModeDescription")]
public VolumeSupResZones.DisplayMode DisplayMode1 { get; set; }
Property Value
DisplayMode2
[Display(ResourceType = typeof(Strings), Name = "DisplayMode", GroupName = "TimeFrame2", Description = "ElementDisplayModeDescription")]
public VolumeSupResZones.DisplayMode DisplayMode2 { get; set; }
Property Value
DisplayMode3
[Display(ResourceType = typeof(Strings), Name = "DisplayMode", GroupName = "TimeFrame3", Description = "ElementDisplayModeDescription")]
public VolumeSupResZones.DisplayMode DisplayMode3 { get; set; }
Property Value
DisplayMode4
[Display(ResourceType = typeof(Strings), Name = "DisplayMode", GroupName = "TimeFrame4", Description = "ElementDisplayModeDescription")]
public VolumeSupResZones.DisplayMode DisplayMode4 { get; set; }
Property Value
ExtendLast
[Display(ResourceType = typeof(Strings), Name = "ExtendLast", GroupName = "General", Description = "ExtendLastDescription")]
public bool ExtendLast { get; set; }
Property Value
- bool
ExtendPrevious
[Display(ResourceType = typeof(Strings), Name = "ExtendPrevious", GroupName = "General", Description = "ExtendPreviousDescription")]
public bool ExtendPrevious { get; set; }
Property Value
- bool
HLLineStyle
[Display(ResourceType = typeof(Strings), Name = "LineStyle", GroupName = "HighLow", Description = "LineDashStyleDescription")]
public LineDashStyle HLLineStyle { get; set; }
Property Value
HLLineWidth
[Range(1, 20)]
[Display(ResourceType = typeof(Strings), Name = "LineWidth", GroupName = "HighLow", Description = "LineWidthDescription")]
public int HLLineWidth { get; set; }
Property Value
- int
LabelLocation
[Display(ResourceType = typeof(Strings), Name = "LabelLocation", GroupName = "General", Description = "LabelLocationDescription")]
public VolumeSupResZones.LabelLocations LabelLocation { get; set; }
Property Value
LabelTextSize
[Range(1, 50)]
[Display(ResourceType = typeof(Strings), Name = "TextSize", GroupName = "General", Description = "TextSizeDescription")]
public int LabelTextSize { get; set; }
Property Value
- int
OCLineStyle
[Display(ResourceType = typeof(Strings), Name = "LineStyle", GroupName = "OpenClose", Description = "LineDashStyleDescription")]
public LineDashStyle OCLineStyle { get; set; }
Property Value
OCLineWidth
[Range(1, 20)]
[Display(ResourceType = typeof(Strings), Name = "LineWidth", GroupName = "OpenClose", Description = "LineWidthDescription")]
public int OCLineWidth { get; set; }
Property Value
- int
ResColor1
[Display(ResourceType = typeof(Strings), Name = "ResistanceColor", GroupName = "TimeFrame1", Description = "ResistanceColorDescription")]
public Color ResColor1 { get; set; }
Property Value
- Color
ResColor2
[Display(ResourceType = typeof(Strings), Name = "ResistanceColor", GroupName = "TimeFrame2", Description = "ResistanceColorDescription")]
public Color ResColor2 { get; set; }
Property Value
- Color
ResColor3
[Display(ResourceType = typeof(Strings), Name = "ResistanceColor", GroupName = "TimeFrame3", Description = "ResistanceColorDescription")]
public Color ResColor3 { get; set; }
Property Value
- Color
ResColor4
[Display(ResourceType = typeof(Strings), Name = "ResistanceColor", GroupName = "TimeFrame4", Description = "ResistanceColorDescription")]
public Color ResColor4 { get; set; }
Property Value
- Color
ShowHLLines
[Display(ResourceType = typeof(Strings), Name = "ShowLines", GroupName = "HighLow", Description = "IsNeedShowLinesDescription")]
public bool ShowHLLines { get; set; }
Property Value
- bool
ShowOCLines
[Display(ResourceType = typeof(Strings), Name = "ShowLines", GroupName = "OpenClose", Description = "IsNeedShowLinesDescription")]
public bool ShowOCLines { get; set; }
Property Value
- bool
ShowTimeFrameLabel
[Display(ResourceType = typeof(Strings), Name = "ShowTimeFrameLabel", GroupName = "General", Description = "IsNeedShowLabelDescription")]
public bool ShowTimeFrameLabel { get; set; }
Property Value
- bool
SmaPeriod1
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "TimeFrame1", Description = "PeriodDescription")]
public int SmaPeriod1 { get; set; }
Property Value
- int
SmaPeriod2
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "TimeFrame2", Description = "PeriodDescription")]
public int SmaPeriod2 { get; set; }
Property Value
- int
SmaPeriod3
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "TimeFrame3", Description = "PeriodDescription")]
public int SmaPeriod3 { get; set; }
Property Value
- int
SmaPeriod4
[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "TimeFrame4", Description = "PeriodDescription")]
public int SmaPeriod4 { get; set; }
Property Value
- int
SupColor1
[Display(ResourceType = typeof(Strings), Name = "SupportColor", GroupName = "TimeFrame1", Description = "SupportColorDescription")]
public Color SupColor1 { get; set; }
Property Value
- Color
SupColor2
[Display(ResourceType = typeof(Strings), Name = "SupportColor", GroupName = "TimeFrame2", Description = "SupportColorDescription")]
public Color SupColor2 { get; set; }
Property Value
- Color
SupColor3
[Display(ResourceType = typeof(Strings), Name = "SupportColor", GroupName = "TimeFrame3", Description = "SupportColorDescription")]
public Color SupColor3 { get; set; }
Property Value
- Color
SupColor4
[Display(ResourceType = typeof(Strings), Name = "SupportColor", GroupName = "TimeFrame4", Description = "SupportColorDescription")]
public Color SupColor4 { get; set; }
Property Value
- Color
TimeFrameType1
[Display(ResourceType = typeof(Strings), Name = "TimeFrame", GroupName = "TimeFrame1", Description = "SelectTimeframeDescription")]
public VolumeSupResZones.TimeFrameScale TimeFrameType1 { get; set; }
Property Value
TimeFrameType2
[Display(ResourceType = typeof(Strings), Name = "TimeFrame", GroupName = "TimeFrame2", Description = "SelectTimeframeDescription")]
public VolumeSupResZones.TimeFrameScale TimeFrameType2 { get; set; }
Property Value
TimeFrameType3
[Display(ResourceType = typeof(Strings), Name = "TimeFrame", GroupName = "TimeFrame3", Description = "SelectTimeframeDescription")]
public VolumeSupResZones.TimeFrameScale TimeFrameType3 { get; set; }
Property Value
TimeFrameType4
[Display(ResourceType = typeof(Strings), Name = "TimeFrame", GroupName = "TimeFrame4", Description = "SelectTimeframeDescription")]
public VolumeSupResZones.TimeFrameScale TimeFrameType4 { get; set; }
Property Value
UseAlert
[Display(ResourceType = typeof(Strings), Name = "UseAlert", GroupName = "Alerts", Description = "UseAlertDescription")]
public bool UseAlert { get; set; }
Property Value
- bool
ZoneTransparency1
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "Transparency", GroupName = "TimeFrame1", Description = "VisualObjectsTransparencyDescription")]
public int ZoneTransparency1 { get; set; }
Property Value
- int
ZoneTransparency2
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "Transparency", GroupName = "TimeFrame2", Description = "VisualObjectsTransparencyDescription")]
public int ZoneTransparency2 { get; set; }
Property Value
- int
ZoneTransparency3
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "Transparency", GroupName = "TimeFrame3", Description = "VisualObjectsTransparencyDescription")]
public int ZoneTransparency3 { get; set; }
Property Value
- int
ZoneTransparency4
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "Transparency", GroupName = "TimeFrame4", Description = "VisualObjectsTransparencyDescription")]
public int ZoneTransparency4 { get; set; }
Property Value
- int
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.
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()
OnRender(RenderContext, DrawingLayouts)
Override this method for implementing your own data rendering logic.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextThe rendering context used to draw on the chart.
layoutDrawingLayoutsThe layout information for the drawing.