Class LevelSettings
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
Added in ATAS 8.0.15.
public class LevelSettings : NotifiableObject
- Inheritance
-
objectLevelSettings
- Inherited Members
- Extension Methods
Constructors
LevelSettings(bool, Color, int, LineDashStyle, bool, LabelPosition, LineType, Color?)
public LevelSettings(bool enabled = false, Color color = default, int width = 1, LineDashStyle lineStyle = LineDashStyle.Solid, bool showPrice = true, LabelPosition labelPosition = LabelPosition.Bar, LineType lineType = LineType.Bar, Color? textColor = null)
Parameters
enabledboolcolorColorwidthintlineStyleLineDashStyleshowPriceboollabelPositionLabelPositionlineTypeLineTypetextColorColor?
Properties
Color
[Display(ResourceType = typeof(Strings), Name = "Color")]
public Color Color { get; set; }
Property Value
- Color
Enabled
[Display(ResourceType = typeof(Strings), Name = "Enabled")]
public bool Enabled { get; set; }
Property Value
- bool
LabelPosition
[Display(ResourceType = typeof(Strings), Name = "Label")]
public LabelPosition LabelPosition { get; set; }
Property Value
LineStyle
[Display(ResourceType = typeof(Strings), Name = "LineStyle")]
public LineDashStyle LineStyle { get; set; }
Property Value
LineType
[Display(ResourceType = typeof(Strings), Name = "Line")]
public LineType LineType { get; set; }
Property Value
RenderPen
[Browsable(false)]
public RenderPen RenderPen { get; }
Property Value
ShowPrice
[Display(ResourceType = typeof(Strings), Name = "ShowPrice")]
public bool ShowPrice { get; set; }
Property Value
- bool
TextColor
Color of the level label on the chart (dOpen, dHigh, ...) and of the level badge
in the heatmap. null means "Auto": the label contrasts with the chart
background, the badge with the level color. The price on the price scale ignores it and
always contrasts with the level color. Templates and workspaces saved before the setting
existed carry no value, so they read as Auto.
Not in ATAS 8.0.15 yet: available from the next version.
[Display(ResourceType = typeof(Strings), Name = "TextColor", Description = "OhlcPlusTextColorDescription")]
public Color? TextColor { get; set; }
Property Value
- Color?
Width
[Display(ResourceType = typeof(Strings), Name = "Width")]
[Range(1, 10)]
public int Width { get; set; }
Property Value
- int