Thanks for your notes.
Yes, you could configure the custom Series in that way.
If a value is not being assigned to the OBBullishLowerPrice[0] custom Series variable on the current bar then OBBullishLowerPrice[0] will return a value of 0.
When a value is assigned to OBBullishLowerPrice[0] on the current bar then OBBullishLowerPrice[0] will return the value assigned to it on that bar.
See this help guide page for more information about custom Series<T> variables: https://ninjatrader.com/support/help...t8/seriest.htm
"...i evaluate if close < OBBullishLowerPrice"
As noted in my previous post, this condition is not becoming true since Closes[iDataSeriesIdx][0] is evaluating greater than OBBullishLowerPrice[0] which is why RemoveDrawObject() is not called.
Comment