Returns a bar with OHLC values corresponding to the ask price.

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

Syntax

C#
public static BarData GetAskBar(
	BarData bar
)
Visual Basic
Public Shared Function GetAskBar ( 
	bar As BarData
) As BarData
Visual C++
public:
static BarData^ GetAskBar(
	BarData^ bar
)
F#
static member GetAskBar : 
        bar : BarData -> BarData 

Parameters

bar
Type: RightEdge.Common..::..BarData
A bar where the Ask corresponds to the ask price at close.

Return Value

Type: BarData
A bar with OHLC values corresponding to the ask price.

Remarks

The difference between Ask and Close in bar is used to calculate the adjusted OHLC values for the returned bar.

See Also