Error on plotting indicator 'MyCustomIndicator'. Please check the 'OnBarUpdate' or the 'Plot' method: Overflow error.
The indicator is an adaptation of the HeikenAshi indicator. I have made no changes to the plot method from that indicator. In OnBarUpdate, all I have is if(Historical), set some values to 0, then return, or if(CurrentBar < 1) return.
I'm overriding onMarketData as that is where most of the indicator logic is. Could the overflow error be generating from this method instead of just OBU or Plot as the log message indicates? What does overflow error actually mean? Memory issue? Thanks
kc
Comment