GetCurrentAsk()
<< Click to Display Table of Contents >> GetCurrentAsk() |
Returns the current real-time ask price.
Notes: 1. When accessed during State.Historical, the Close price of the evaluated bar is substituted. To access historical Ask prices, please see Developing for Tick Replay. 2. The GetCurrentAsk() method runs on the bar series currently updating determined by the BarsInProgress property. For multi-instrument scripts, an additional int "barsSeriesIndex" parameter can be supplied which forces the method to run on an supplementary bar series. |
A double value representing the current ask price.
Syntax
GetCurrentAsk()
GetCurrentAsk(int barsSeriesIndex)
barsSeriesIndex |
An int value determining the bar series the method runs. Note: This optional parameter is reserved for multi-instrument scripts |
protected override void OnBarUpdate() |
protected override void OnStateChange() |