Click or drag to resize

Candle Class

Base candle class (contains main parameters).
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (5.0.0)
public abstract class Candle : Cloneable<Candle>

The Candle type exposes the following members.

Protected methodCandle
Initializes a new instance of the Candle class
Public propertyArg
Candle arg.
Public propertyBuildFrom
Determines the message is generated from the specified DataType.
Public propertyClosePrice
Closing price.
Public propertyCloseTime
Close time.
Public propertyCloseVolume
Volume at close.
Public propertyDownTicks
Number of down trending ticks.
Public propertyHighPrice
Highest price.
Public propertyHighTime
High time.
Public propertyHighVolume
Volume at high.
Public propertyLowPrice
Lowest price.
Public propertyLowTime
Low time.
Public propertyLowVolume
Volume at low.
Public propertyMaxPriceLevel
PriceLevels with maximum TotalVolume.
Public propertyMinPriceLevel
PriceLevels with minimum TotalVolume.
Public propertyOpenInterest
Open interest.
Public propertyOpenPrice
Opening price.
Public propertyOpenTime
Open time.
Public propertyOpenVolume
Volume at open.
Public propertyPriceLevels
Price levels.
Public propertyRelativeVolume
Relative volume.
Public propertySecurity
Public propertySeqNum
Sequence number.
Public propertyState
Public propertyTotalPrice
Total price size.
Public propertyTotalTicks
Number of ticks.
Public propertyTotalVolume
Total volume.
Public propertyUpTicks
Number of up trending ticks.
Public methodClone (Inherited from CloneableCandle.)
Protected methodCopyToTCandle
Copy the message into the destination.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Extension Methods
Public Extension MethodGetBody
To get the candle body.
(Defined by CandleHelper.)
Public Extension MethodGetBottomShadow
To get the candle lower shadow length.
(Defined by CandleHelper.)
Public Extension MethodGetLength
To get the candle length.
(Defined by CandleHelper.)
Public Extension MethodGetTopShadow
To get the candle upper shadow length.
(Defined by CandleHelper.)
Public Extension MethodIsBullishOrBearish
Whether the candle is bullish or bearish.
(Defined by CandleHelper.)
Public Extension MethodIsDragonflyOrGravestone
Whether the candle is dragonfly or tombstone.
(Defined by CandleHelper.)
Public Extension MethodIsHammer
Whether the candle is hammer.
(Defined by CandleHelper.)
Public Extension MethodIsMarubozu
Whether the candle is shadowless.
(Defined by CandleHelper.)
Public Extension MethodIsSpinningTop
Whether the candle is neutral to trades.
(Defined by CandleHelper.)
Public Extension MethodIsWhiteOrBlack
Whether the candle is white or black.
(Defined by CandleHelper.)
Public Extension MethodToMessage
To convert the candle into message.
(Defined by MessageConverterHelper.)
Public Extension MethodUpdate
Update candle from CandleMessage.
(Defined by MessageConverterHelper.)
See Also
Inheritance Hierarchy