Table of Contents

Class SqueezeMomentum

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

Constructors

SqueezeMomentum()

public SqueezeMomentum()

Properties

BBMultFactor

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "BBMultFactor", GroupName = "Settings", Description = "MultiplierDescription")]
[Range(1, 10000)]
public decimal BBMultFactor { get; set; }

Property Value

decimal

BBPeriod

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

Property Value

int

FalseColor

[Display(Name = "Dots False", GroupName = "Drawing", Description = "ColorDescription", Order = 660)]
public Color FalseColor { get; set; }

Property Value

Color

KCMultFactor

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

Property Value

decimal

KCPeriod

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

Property Value

int

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

NullColor

[Display(Name = "Dots Null", GroupName = "Drawing", Description = "ColorDescription", Order = 670)]
public Color NullColor { get; set; }

Property Value

Color

TrueColor

[Display(Name = "Dots True", GroupName = "Drawing", Description = "ColorDescription", Order = 650)]
public Color TrueColor { get; set; }

Property Value

Color

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

UseTrueRange

[Display(ResourceType = typeof(Strings), Name = "UseTrueRangeKc", GroupName = "Settings", Description = "UseTrueRangeDescription")]
public bool UseTrueRange { get; set; }

Property Value

bool

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.