Download MetaTrader 5

Open

Gets the element of the Open timeseries by index.

double  Open(
   int    ind         // index
   )

Parameters

ind

[in]  Element index.

Return Value

If successful, it returns the numerical value of the Open timeseries element with specified index, otherwise it returns EMPTY_VALUE.

Note

The EMPTY_VALUE is returned in two cases:

  1. Timeseries is not used (the corresponding bit is not set).
  2. Element index is out of range.

Updated: 2016.05.31