Builds bars from a collection of tick data for the specified frequency.

Namespace: RightEdge.Common
Assembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)

Syntax

C#
public static RList<BarData> GetBars(
	List<TickData> ticks,
	int freq,
	BarConstructionType constructionType
)
Visual Basic
Public Shared Function GetBars ( 
	ticks As List(Of TickData),
	freq As Integer,
	constructionType As BarConstructionType
) As RList(Of BarData)
Visual C++
public:
static RList<BarData^>^ GetBars(
	List<TickData>^ ticks, 
	int freq, 
	BarConstructionType constructionType
)
F#
static member GetBars : 
        ticks : List<TickData> * 
        freq : int * 
        constructionType : BarConstructionType -> RList<BarData> 

Parameters

ticks
Type: System.Collections.Generic..::..List<(Of <(<'TickData>)>)>
Collection of ticks.
freq
Type: System..::..Int32
Frequency to build the bar collection
constructionType
Type: RightEdge.Common..::..BarConstructionType
Builds the last price from the specified bar element.

Return Value

Type: RList<(Of <(<'BarData>)>)>
Collection of BarData.

See Also