ASK

Syntax

PriceType.ASK

Description

Use it with Fundamental functions to state that an ask price needs to be returned. Note that for non-Forex symbols, this price type is only supported on intraday charts with time interval not greater than 15 days.

Example

input priceType = PriceType.ASK;

plot AskPrice = open(priceType = priceType);

By default, this script returns the open of ask price for the currently selected symbol, with the price type customizable via input parameters.