NinjaScript > Language Reference > Data >

GetCurrentBid()

Print this Topic Previous pageReturn to chapter overviewNext page

Definition
Returns the current bid price.
 

Method Return Value

A double value representing the current bid price. Note: When accessed during a historical backtest, the close price of the evaluated bar is substituted.

 

Syntax
GetCurrentBid()

GetCurrentBid(int barSeriesIndex)