×

Sign up and get MultiCharts free

Use its powerful simulation mode with data included out of the box. Just fill out the form and start honing your trading skills with a few clicks.

Changes - MultiCharts

Changes

Jump to navigation Jump to search

Symbol OpenInt

1,237 bytes added, 13:14, 1 March 2012
no edit summary
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 ==
<syntaxhighlight>Symbol_OpenInt</syntaxhighlight>
 
== Example ==
Plot the open interest of the current bar
<syntaxhighlight>Plot1(Symbol_OpenInt, "Open Interest");</syntaxhighlight>
 
Plot the open interest of the previous bar:
<syntaxhighlight>Plot1(Symbol_OpenInt of 1 Bar Ago, "Previous Bar's Open Interest");</syntaxhighlight>
 
Plot the open interest of two bars ago:
<syntaxhighlight>Plot1(Symbol_OpenInt[2], "Open Interest 2 bars ago");</syntaxhighlight>
 
 
[[Category:Data Information/General]]

Navigation menu