Class ExternalCharts
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "ExternalChartsDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602383")]
public class ExternalCharts : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectExternalCharts
- Implements
- Inherited Members
- Extension Methods
Constructors
ExternalCharts()
public ExternalCharts()
Properties
Above
[Display(ResourceType = typeof(Strings), Name = "ShowAboveChart", GroupName = "Visualization", Description = "DrawAbovePriceDescription", Order = 70)]
public bool Above { get; set; }
Property Value
- bool
AreaColor
[Browsable(false)]
public Color AreaColor { get; set; }
Property Value
- Color
Days
[Range(0, 2147483647)]
[Display(ResourceType = typeof(Strings), GroupName = "Calculation", Name = "DaysLookBack", Order = 2147483647, Description = "DaysLookBackDescription")]
public int Days { get; set; }
Property Value
- int
DownBackground
[Display(ResourceType = typeof(Strings), Name = "BackgroundBearlish", GroupName = "Visualization", Description = "BearishFillColorDescription", Order = 47)]
public Color DownBackground { get; set; }
Property Value
- Color
DownCandleColor
[Display(ResourceType = typeof(Strings), Name = "BearlishColor", GroupName = "Visualization", Description = "BearishColorDescription", Order = 40)]
public Color DownCandleColor { get; set; }
Property Value
- Color
ExtCandleMode
[Display(ResourceType = typeof(Strings), Name = "ShowAsCandle", GroupName = "Visualization", Description = "ShowAsCandleDescription", Order = 9)]
public bool ExtCandleMode { get; set; }
Property Value
- bool
FillCandles
[Display(ResourceType = typeof(Strings), Name = "FillCandles", GroupName = "Visualization", Description = "IsNeedFillDescription", Order = 65)]
public bool FillCandles { get; set; }
Property Value
- bool
GridColor
[Display(ResourceType = typeof(Strings), Name = "Color", GroupName = "Grid", Description = "GridColorDescription", Order = 8)]
public Color GridColor { get; set; }
Property Value
- Color
ShowGrid
[Display(ResourceType = typeof(Strings), Name = "ShowGrid", GroupName = "Grid", Description = "DisplayClusterBorderDescription", Order = 7)]
public bool ShowGrid { get; set; }
Property Value
- bool
Style
[Display(ResourceType = typeof(Strings), Name = "DashStyle", GroupName = "Visualization", Description = "BorderStyleDescription", Order = 60)]
public LineDashStyle Style { get; set; }
Property Value
TFrame
[Display(ResourceType = typeof(Strings), Name = "ExternalPeriod", GroupName = "TimeFrame", Description = "SelectTimeframeDescription", Order = 5)]
public ExternalCharts.TimeFrameScale TFrame { get; set; }
Property Value
UpBackground
[Display(ResourceType = typeof(Strings), Name = "BackgroundBullish", GroupName = "Visualization", Description = "BullishFillColorDescription", Order = 45)]
public Color UpBackground { get; set; }
Property Value
- Color
UpCandleColor
[Display(ResourceType = typeof(Strings), Name = "BullishColor", GroupName = "Visualization", Description = "BullishColorDescription", Order = 30)]
public Color UpCandleColor { get; set; }
Property Value
- Color
Width
[Display(ResourceType = typeof(Strings), Name = "Width", GroupName = "Visualization", Description = "BorderWidthPixelDescription", Order = 50)]
[Range(1, 100)]
public int Width { 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.
OnRender(RenderContext, DrawingLayouts)
Added in ATAS 8.0.15.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextlayoutDrawingLayouts