It's not allowing me to call it as outlined here:
Instead, it gives me a compiler error:
Error CS1955 Non-invocable member 'Alert' cannot be used like a method. NinjaTrader.Custom <myfile>.cs
I CAN create an Alert object, then set all the values individually:
Alert tempAlert = new Alert();
tempAlert.Id = "myId";
tempAlert.Priority = Priority.Medium;
etc...
Further, I can call PlaySound() or SendMail() without the compiler complaining, but they don't seem to actually do anything runtime.
Any help is greatly appreciated!
Comment