Builds bars from a collection of tick data for the specified frequency.
Namespace:
RightEdge.CommonAssembly: 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 (Declaration) |
|---|
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 ) |
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.