Is it possible to dispose a private series ,MM, on termination? Neither of the following codes work. I get an error that NinjaTraderScript.Series<doubel> does not have a definition for "Dispose."
if (State == State.Terminated)
{
MM.Dispose();
}
private void OnTermination()
{
MM.Dispose();
}
Many thanks.

Comment