Click or drag to resize

MarketDepthIndicatorValue Constructor (IIndicator, MarketDepth, FuncMarketDepth, NullableDecimal)

Initializes a new instance of the MarketDepthIndicatorValue.

Namespace:  StockSharp.Algo.Indicators
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public MarketDepthIndicatorValue(
	IIndicator indicator,
	MarketDepth depth,
	Func<MarketDepth, Nullable<decimal>> getPart
)

Parameters

indicator
Type: StockSharp.Algo.IndicatorsIIndicator
Indicator.
depth
Type: StockSharp.BusinessEntitiesMarketDepth
Market depth.
getPart
Type: SystemFuncMarketDepth, NullableDecimal
The order book converter, through which its parameter can be got. By default, the ByMiddle is used.
See Also