Symbol OpenInt

From MultiCharts
Jump to: navigation, search

Returns the open interest of the current bar for tick and volume-based charts, and for time-based charts with resolutions of 24 hours or less:

  • the volume traded on Down ticks will be returned if Build Volume On is set to Trade Volume
  • the number of Down ticks in the current bar will be returned if Build Volume On is set to Tick Count OpenInt is supported for time-based charts with resolutions of 1 day or more.

Note

  • Most data feeds provide only a limited history of volume and tick data; storing real-time feed data will ensure the availability of historical volume and tick data.
  • The range of returned values is not limited by the MaxBarsBack setting. This keyword can return the value of any bar of the data series.

Usage

Symbol_OpenInt

Example

Plot the open interest of the current bar

Plot1(Symbol_OpenInt, "Open Interest");

Plot the open interest of the previous bar:

Plot1(Symbol_OpenInt of 1 Bar Ago, "Previous Bar's Open Interest");

Plot the open interest of two bars ago:

Plot1(Symbol_OpenInt[2], "Open Interest 2 bars ago");