User login

  

Timeseries

The following lists alphabetically timeseries  PTL functions.

 

GetFieldType

Gets a field type

Syntax

int GetFieldType( )

 

GetPrice

Returns the price for specified arguments.

Syntax

double GetPrice(  int priceType)

double GetPrice(  int priceType, int Shift)

double GetPrice( string symbol, int period)

double GetPrice( string symbol, int period, int shift)

double GetPrice( string symbol, int period, int shift int priceType)

Parameters

  • symbol - Symbol for which to get price.
  • period - Period for which to get price.
  • index - Index of the value in the buffer (the last bar index is 0).
  • priceType - The type of price. Example: CLOSE, LOW, and etc.
12345