OpenInt (Reserved Word)
Reserved word used to return the Open Interest of the specified time increment or group of ticks.
OpenInt
Remarks
Anytime the Open Interest of a bar is needed, the letter I can be used in an equivalent fashion.
See EasyLanguage Reserved Words Related to Ticks, Volume & Open Interest for more information about the value of OpenInt based on window type, interval, volume/tick settings, and asset class.
Examples
OpenInt of 1 bar ago
returns the Open Interest of the previous bar.
Average(OpenInt, 10)
returns the Average of the last 10 Open Interest values.
Additional Example
To check that the last two bars have Open Interest values higher than the previous bar, the following language can be used in a ShowMe study:
If OpenInt > OpenInt[1] and OpenInt[1] > OpenInt[2] then
Plot1(High, "Rising");