I am trying to figure out why I am getting the onbarupdate error message, 'MRO on bar 0 threw and exception: Object reference not set to an instance of an object.
This bit of code that is causing the issue is
int RedZero = MRO(() => (Low[3] - High[1] >= (6 * TickSize)) , 1, 15);
int RedZero = MRO(() => (Low[3] - High[1] >= (5 * TickSize)) , 1, 15);
Thank you,
Nick
Comment