Click or drag to resize

CandleHelperFilterSmallerTimeFrames Method

Filter time-frames to find multiple smaller time-frames.

Namespace:  StockSharp.Algo.Candles
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static IEnumerable<TimeSpan> FilterSmallerTimeFrames(
	this IEnumerable<TimeSpan> timeFrames,
	TimeSpan original
)

Parameters

timeFrames
Type: System.Collections.GenericIEnumerableTimeSpan
All time-frames.
original
Type: SystemTimeSpan
Original time-frame.

Return Value

Type: IEnumerableTimeSpan
Multiple smaller time-frames.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableTimeSpan. 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