Class LinRegChannel
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "LinRegChannelDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000618910")]
public class LinRegChannel : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectLinRegChannel
- Implements
- Inherited Members
- Extension Methods
Constructors
LinRegChannel()
public LinRegChannel()
Properties
ArrowColor
[Display(ResourceType = typeof(Strings), Name = "TextColor", GroupName = "Visualization", Description = "LabelTextColorDescription")]
public Color ArrowColor { get; set; }
Property Value
- Color
ArrowSize
[Range(1, 20)]
[Display(ResourceType = typeof(Strings), Name = "TextSize", GroupName = "Visualization", Description = "TextSizeDescription")]
public int ArrowSize { get; set; }
Property Value
- int
BearishColor
[Display(ResourceType = typeof(Strings), Name = "BearlishColor", GroupName = "Visualization", Description = "BearishColorDescription")]
public Color BearishColor { get; set; }
Property Value
- Color
BrokenChannelColor
[Display(ResourceType = typeof(Strings), Name = "BrokenChannelColor", GroupName = "Visualization", Description = "ColorDescription")]
public Color BrokenChannelColor { get; set; }
Property Value
- Color
BullishColor
[Display(ResourceType = typeof(Strings), Name = "BullishColor", GroupName = "Visualization", Description = "BullishColorDescription")]
public Color BullishColor { get; set; }
Property Value
- Color
Deviation
[Parameter]
[Range(0.1, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Deviation", GroupName = "Calculation", Description = "DeviationRangeDescription")]
public decimal Deviation { get; set; }
Property Value
- decimal
ExtendLines
[Display(ResourceType = typeof(Strings), Name = "ExtendLines", GroupName = "Visualization", Description = "ExtendLinesDescription")]
public bool ExtendLines { get; set; }
Property Value
- bool
LabelTransparency
[Range(0, 10)]
[Display(ResourceType = typeof(Strings), Name = "Transparency", GroupName = "Visualization", Description = "VisualObjectsTransparencyDescription")]
public int LabelTransparency { get; set; }
Property Value
- int
LineWidth
[Range(1, 20)]
[Display(ResourceType = typeof(Strings), Name = "LineWidth", GroupName = "Visualization", Description = "LineWidthDescription")]
public float LineWidth { get; set; }
Property Value
- float
Period
[Parameter]
[Range(10, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Calculation", Description = "PeriodDescription")]
public int Period { get; set; }
Property Value
- int
ShowBrokenChannel
[Display(ResourceType = typeof(Strings), Name = "ShowBrokenChannel", GroupName = "Visualization", Description = "ShowBrokenChannelDescription")]
public bool ShowBrokenChannel { get; set; }
Property Value
- bool
ShowFibonacci
[Display(ResourceType = typeof(Strings), Name = "ShowFibonacci", GroupName = "Visualization", Description = "ShowFibonacciDescription")]
public bool ShowFibonacci { get; set; }
Property Value
- bool
Type
[Display(ResourceType = typeof(Strings), Name = "Type", GroupName = "Calculation", Description = "CalculationModeDescription")]
public LinRegChannel.InputType Type { get; set; }
Property Value
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)
Added in ATAS 8.0.15.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextlayoutDrawingLayouts