. Please add serialization for:
Queue<>, Dictionary<>, SortedDictionary<>, Stack<>, SortedList<>, LinkedList<>
The following indicator generates a serialization error when you try to save it in a workspace:
using System.Collections;
using System.Collections.Generic;
namespace NinjaTrader.Indicator
{
public class aaaTestSerialize : Indicator
{
//public List<int> FMyThings = new List<int>(); //OK
//public ArrayList FMyThings = new ArrayList(); //nongenerics //OK - of course ;)
public Queue<int> FMyThings = new Queue<int>(); //Fails
//public Queue FMyThings = new Queue(); //nongenerics //Fails
//public Dictionary<string,int> FMyThings = new Dictionary<string,int>(); //Fails
//public SortedDictionary<string,int> FMyThings = new SortedDictionary<string,int>(); //Fails
//public Stack<int> FMyThings = new Stack<int>(); //Fails
//public SortedList<string,int> FMyThings = new SortedList<string,int>(); //Fails
//public LinkedList<int> FMyThings = new LinkedList<int>(); //Fails
protected override void Initialize()
{}
protected override void OnBarUpdate()
{}
}
}

Comment