×

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
Open main menu

Changes

OpenInt

1,100 bytes added, 14:08, 18 January 2012
Created page with "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 tic..."
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.

Please note that 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.

==== Usage ====
[[OpenInt]]

==== Example ====
Plot the open interest of the current bar:

<syntaxhighlight>Plot1(OpenInt,"Open interest");</syntaxhighlight>


Plot the open interest of the previous bar:

<syntaxhighlight>Plot1(OpenInt of 1 Bar Ago,"Previous bar's open interest");</syntaxhighlight>


Plot the open interest of two bars ago:

<syntaxhighlight>Plot1(OpenInt[2],"Open interest 2 bars ago");</syntaxhighlight>


[[Category:Data Information/General]]
Anonymous user