Table of Contents

Class BidAskVR

Namespace
ATAS.Indicators.Technical
Assembly
ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "BidAskVRDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602330")]
public class BidAskVR : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
Inheritance
object
BidAskVR
Implements
Inherited Members
Extension Methods

Constructors

BidAskVR()

public BidAskVR()

Properties

CalcMode

[Display(ResourceType = typeof(Strings), Name = "Mode", GroupName = "Settings", Description = "CalculationModeDescription", Order = 120)]
public BidAskVR.Mode CalcMode { get; set; }

Property Value

BidAskVR.Mode

LowColor

[Display(ResourceType = typeof(Strings), Name = "Low", GroupName = "Drawing", Description = "NegativeValueColorDescription", Order = 630)]
public Color LowColor { get; set; }

Property Value

Color

LowerColor

[Display(ResourceType = typeof(Strings), Name = "Lower", GroupName = "Drawing", Description = "LowerNegativeValueColorDescription", Order = 640)]
public Color LowerColor { get; set; }

Property Value

Color

MaType

[Display(ResourceType = typeof(Strings), Name = "MovingType", GroupName = "Settings", Description = "MovingTypeDescription", Order = 100)]
public BidAskVR.MovingType MaType { get; set; }

Property Value

BidAskVR.MovingType

Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 110)]
public int Period { get; set; }

Property Value

int

UpColor

[Display(ResourceType = typeof(Strings), Name = "Up", GroupName = "Drawing", Description = "PositiveValueColorDescription", Order = 620)]
public Color UpColor { get; set; }

Property Value

Color

UpperColor

[Display(ResourceType = typeof(Strings), Name = "Upper", GroupName = "Drawing", Description = "UpperPositiveValueColorDescription", Order = 610)]
public Color UpperColor { get; set; }

Property Value

Color

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

bar int

Bar number.

value decimal

Input data series value.

OnRecalculate()

The method is executed before a new calculation.

protected override void OnRecalculate()