Table of Contents

Class WPR

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

Constructors

WPR()

public WPR()

Properties

DrawLines

[Display(ResourceType = typeof(Strings), Name = "Show", GroupName = "Line", Description = "DrawLinesDescription", Order = 30)]
public bool DrawLines { get; set; }

Property Value

bool

Line20

[Display(ResourceType = typeof(Strings), Name = "minus20", GroupName = "Line", Description = "OverboughtLimitDescription", Order = 30)]
public LineSeries Line20 { get; set; }

Property Value

LineSeries

Line80

[Display(ResourceType = typeof(Strings), Name = "minus80", GroupName = "Line", Description = "OversoldLimitDescription", Order = 30)]
public LineSeries Line80 { get; set; }

Property Value

LineSeries

Period

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 20)]
[Range(1, 10000)]
public int Period { 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.