Builds a bar from a tick collection
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public static BarData CreateBarFromTicks( List<TickData> ticks, DateTime time, double prevClose, BarConstructionType constructionType ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function CreateBarFromTicks ( _ ticks As List(Of TickData), _ time As DateTime, _ prevClose As Double, _ constructionType As BarConstructionType _ ) As BarData |
| Visual C++ |
|---|
public: static BarData^ CreateBarFromTicks( List<TickData>^ ticks, DateTime time, double prevClose, BarConstructionType constructionType ) |
Parameters
- ticks
- Type: System.Collections.Generic..::.List<(Of <(TickData>)>)
Tick collection
- time
- Type: System..::.DateTime
time of bar
- prevClose
- Type: System..::.Double
previous close value.
- constructionType
- Type: RightEdge.Common..::.BarConstructionType
Builds the last price from the specified bar element.