Table of Contents

Class CandlePatternIndicatorValue

Namespace
StockSharp.Algo.Indicators
Assembly
StockSharp.Algo.dll
public class CandlePatternIndicatorValue : SingleIndicatorValue<bool>, IIndicatorValue, IComparable<IIndicatorValue>, IComparable
Inheritance
CandlePatternIndicatorValue
Implements
Inherited Members
Extension Methods

Constructors

CandlePatternIndicatorValue(IIndicator, bool, DateTimeOffset)

Initializes a new instance of the CandlePatternIndicatorValue.

public CandlePatternIndicatorValue(IIndicator indicator, bool value, DateTimeOffset time)

Parameters

indicator IIndicator

IIndicator

value bool

Signal value.

time DateTimeOffset

Time

CandlePatternIndicatorValue(IIndicator, DateTimeOffset)

Initializes a new instance of the CandlePatternIndicatorValue.

public CandlePatternIndicatorValue(IIndicator indicator, DateTimeOffset time)

Parameters

indicator IIndicator

IIndicator

time DateTimeOffset

Time

Properties

CandleOpenTimes

Pattern candle times.

public DateTimeOffset[] CandleOpenTimes { get; set; }

Property Value

DateTimeOffset[]

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.

Operators

explicit operator bool(CandlePatternIndicatorValue)

Cast object from CandlePatternIndicatorValue to bool.

public static explicit operator bool(CandlePatternIndicatorValue value)

Parameters

value CandlePatternIndicatorValue

Object CandlePatternIndicatorValue.

Returns

bool

bool value.