I really need your help.
I would like to give the opportunity to the users of my indicator to load Bid Ask or Minute data.
I have created a property data which is an enumeration containing BidAsk and Minute.
I have to set the data series in the initialize method. But when I run 1) Minute - 2) Bid Ask and 3) Minute again I get a Bar array error. It seems that the minute data is still there from the first run and try to add another minute data which cause the problem.
Is there a way to start fresh and get rid of previous bar array before adding the needed array chosen by the user...
Thanks

Comment