Table of Contents

Class SuperTrendIndicatorValue

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll

The value for the SuperTrend indicator, including trend direction.

public class SuperTrendIndicatorValue : DecimalIndicatorValue, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
Inheritance
SuperTrendIndicatorValue
Implements
Inherited Members
Extension Methods

Constructors

SuperTrendIndicatorValue(IIndicator, DateTimeOffset)

Initializes a new instance of the SuperTrendIndicatorValue class.

public SuperTrendIndicatorValue(IIndicator indicator, DateTimeOffset time)

Parameters

indicator IIndicator

Indicator.

time DateTimeOffset

Value time.

SuperTrendIndicatorValue(IIndicator, decimal, bool, DateTimeOffset)

Initializes a new instance of the SuperTrendIndicatorValue class.

public SuperTrendIndicatorValue(IIndicator indicator, decimal value, bool isUpTrend, DateTimeOffset time)

Parameters

indicator IIndicator

Indicator.

value decimal

SuperTrend line value.

isUpTrend bool

Trend direction.

time DateTimeOffset

Value time.

Properties

IsUpTrend

Trend direction.

public bool IsUpTrend { get; }

Property Value

bool

Methods

FromValues(object[])

Convert to indicator value.

public override void FromValues(object[] values)

Parameters

values object[]

ToValues()

ToValues()

Convert to primitive values.

public override IEnumerable<object> ToValues()

Returns

IEnumerable<object>

Primitive values.