Click or drag to resize

CandleManager Class

The candles manager.
Inheritance Hierarchy

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public class CandleManager : BaseLogReceiver, 
	ICandleManager, ICandleSource<Candle>, IDisposable

The CandleManager type exposes the following members.

Constructors
  NameDescription
Public methodCandleManager
Initializes a new instance of the CandleManager.
Public methodCandleManager(Connector)
Initializes a new instance of the CandleManager.
Public methodCandleManager(IExternalCandleSource)
Initializes a new instance of the CandleManager.
Top
Properties
  NameDescription
Public propertyContainer
The data container.
Public propertyCurrentTime
Current time, which will be passed to the Time.
(Inherited from BaseLogSource.)
Public propertyId
The unique identifier of the source.
(Inherited from BaseLogSource.)
Public propertyIsDisposed (Inherited from Disposable.)
Public propertyIsRoot
Whether the source is the root (even if Parent is not equal to ).
(Inherited from BaseLogSource.)
Public propertyLogLevel
The logging level. The default is set to Inherit.
(Inherited from BaseLogSource.)
Public propertyName
Source name (to distinguish in log files).
(Inherited from BaseLogSource.)
Public propertyParent
Parent.
(Inherited from BaseLogSource.)
Public propertySeries
Public propertySources
Candles sources.
Public propertySpeedPriority
The source priority by speed (0 - the best).
Top
Methods
  NameDescription
Public methodDispose (Inherited from Disposable.)
Protected methodDisposeManaged
Release resources.
(Overrides Disposable.DisposeManaged.)
Protected methodDisposeNative (Inherited from Disposable.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from Disposable.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSupportedRanges
To get time ranges for which this source of passed candles series has data.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLoad
Load settings.
(Inherited from BaseLogSource.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRaiseError
To call the event Error.
Protected methodRaiseLog
To call the event Log.
(Inherited from BaseLogSource.)
Public methodSave
Save settings.
(Inherited from BaseLogSource.)
Public methodStart
To send data request.
Public methodStop
Protected methodThrowIfDisposed (Inherited from Disposable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from BaseLogSource.)
Top
Events
  NameDescription
Public eventError
The candles creating error event.
Public eventLog
New debug message event.
(Inherited from BaseLogSource.)
Public eventProcessing
A new value for processing occurrence event.
Public eventStopped
The series processing end event.
Top
Extension Methods
  NameDescription
Public Extension MethodGetCandleTCandle
To get a candle by the index.
(Defined by CandleHelper.)
Public Extension MethodGetCandleCount
To get the number of candles.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries)Overloaded.
To get all candles.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, DateTimeOffset)Overloaded.
To get all candles for the time period.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, RangeDateTimeOffset)Overloaded.
To get candles by date range.
(Defined by CandleHelper.)
Public Extension MethodGetCandlesTCandle(CandleSeries, Int32)Overloaded.
To get candles by the total number.
(Defined by CandleHelper.)
Public Extension MethodGetCurrentCandleTCandle
To get the current candle.
(Defined by CandleHelper.)
Public Extension MethodGetSeriesTCandle
To get a candles series by the specified parameters.
(Defined by CandleHelper.)
Public Extension MethodGetTimeFrameCandle
To get a temporary candle on the specific date.
(Defined by CandleHelper.)
Public Extension MethodIsCandlesRegisteredTCandle
Whether the grouping of candles by the specified attribute is registered.
(Defined by CandleHelper.)
Public Extension MethodStart
To start candles getting.
(Defined by CandleHelper.)
Public Extension MethodWhenCandles
To create a rule for the event of candles occurrence, change and end.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesChanged
To create a rule for candle change event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesFinished
To create a rule for candles end event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCandlesStarted
To create a rule for the event of new candles occurrence.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenChanged
To create a rule for candle change event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenClosePriceLess
To create a rule for the event of candle closing price reduction below a specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenClosePriceMore
To create a rule for the event of candle closing price excess above a specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenCurrentCandleTotalVolumeMore
To create a rule for the event of candle total volume excess above a specific level.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenFinished
To create a rule for candle end event.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenPartiallyFinished
To create a rule for the event of candle partial end.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenPartiallyFinishedCandles
To create a rule for the event of candle partial end.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenTotalVolumeMore
To create a rule for the event of candle total volume excess above a specific level.
(Defined by MarketRuleHelper.)
Top
See Also