I would like to understand where/how to initiate an object list within an indicator so that it doesn't get reset if it has collected any data when I change the chart paramaeters, e.g change the instrument or timeseries.
I have tried declaring in the namspace and then instigating in State==State.configure using If logic e.g; if(xxx.Count<1) xxx= new List<Object>(); however it resets whenever I change chart parameters.
Comment