Click or drag to resize

MarketRuleHelperWhenPartiallyFinished Method

Создать правило на событие частичного окончания свечей.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
public static MarketRule<Candle, Candle> WhenPartiallyFinished(
	this ICandleManager candleManager,
	Candle candle,
	IConnector connector,
	decimal percent
)

Parameters

candleManager
Type: StockSharp.Algo.CandlesICandleManager
Менеджер свечей.
candle
Type: StockSharp.Algo.CandlesCandle
Свеча, для которой будет отслеживаться частичное окончание.
connector
Type: StockSharp.BusinessEntitiesIConnector
Подключение к торговой системе.
percent
Type: SystemDecimal
Процент завершения свечи.

Return Value

Type: MarketRuleCandle, Candle
Правило.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICandleManager. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also