Table of Contents

Class HerrickPayoff

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

Constructors

HerrickPayoff()

public HerrickPayoff()

Properties

Divisor

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Divisor", GroupName = "Settings", Description = "DivisorDescription", Order = 110)]
[Range(1E-08, 100000000)]
public decimal Divisor { get; set; }

Property Value

decimal

NegColor

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

Property Value

Color

PosColor

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

Property Value

Color

Smooth

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