Ok so I am making a label that shows the overall change in open interest from the day before. I know open interest isn't reported until the following day and that is fine for this. This is what I came up with. Can someone please check my work or am I way off on this.
def OI = OpenInterest(); plot R = ((OI - OI) - 1); addlabel(yes, "Chg in OI:" + R, color.light_GRAY);