double d = MyIndicator().Plot0[0];
...the closing price of the current bar is assigned to variable d. Is that normal behavior? How can I determine if the current value of the indicator is null? I don't want to assign an arbitrary value because the value is plotted. I tried using the Reset() method but got the same results. Btw, the indicator plots fine on a chart.
Comment