Class CandlePatternIndicatorValue
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
CandlePatternIndicator value.
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
IIndicatorvalue
boolSignal value.
time
DateTimeOffset
CandlePatternIndicatorValue(IIndicator, DateTimeOffset)
Initializes a new instance of the CandlePatternIndicatorValue.
public CandlePatternIndicatorValue(IIndicator indicator, DateTimeOffset time)
Parameters
indicator
IIndicatortime
DateTimeOffset
Properties
CandleOpenTimes
Pattern candle times.
public DateTimeOffset[] CandleOpenTimes { get; set; }
Property Value
Methods
FromValues(object[])
Convert to indicator value.
public override void FromValues(object[] values)
Parameters
values
object[]
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
CandlePatternIndicatorValueObject CandlePatternIndicatorValue.