Gets the BarConstructionType associated with this symbol.
Namespace:
RightEdge.CommonAssembly: Common (in Common.dll) Version: 2010.1.0.0 (2010.1.0.0)
Syntax
| C# |
|---|
public static BarConstructionType GetBarConstruction( Symbol symbol, BarConstructionType barConstruction ) |
| Visual Basic (Declaration) |
|---|
Public Shared Function GetBarConstruction ( _ symbol As Symbol, _ barConstruction As BarConstructionType _ ) As BarConstructionType |
| Visual C++ |
|---|
public: static BarConstructionType GetBarConstruction( Symbol^ symbol, BarConstructionType barConstruction ) |
Parameters
- symbol
- Type: RightEdge.Common..::.Symbol
The Symbol object to query.
- barConstruction
- Type: RightEdge.Common..::.BarConstructionType
Default bar construction type.
Return Value
BarConstructionType associated with the input symbol.
Remarks
This version finds the desired BarConstructionType setting based on
the symbol's AssetClass. If the type is Forex and
the BarConstructionType is Default
the default behavior is to assign the type to Mid. In the
case of other asset classes, the default type would be set to Trades