Ok. I was gonna say I think you weren’t using SUM correctly. If you have trouble with that, you can always google ninjatrader + whatever you are C# code you’re trying to use, in this case “Ninjatrader Sum” gave me their page of how to use it and what overloads it takes.