Table of Contents

Class Demand

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

Constructors

Demand()

public Demand()

Properties

BuySellPower

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

Property Value

int

BuySellSmooth

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "BuySellPower", GroupName = "Smooth", Description = "BuySellPowerPeriodDescription", Order = 200)]
[Range(1, 10000)]
public int BuySellSmooth { get; set; }

Property Value

int

IndicatorSmooth

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Indicator", GroupName = "Smooth", Description = "PeriodDescription", Order = 210)]
[Range(1, 10000)]
public int IndicatorSmooth { 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

bar int

Bar number.

value decimal

Input data series value.