MyKeyEvent.cs 'NinjaTrader.NinjaScript.Strategies.MyKeyEvent' does not contain a constructor that takes 0 arguments." If I comment out the constructor it compiles but it would not do what I want which is to call the MyKeyEvent with three parameters.
I attached a cleaned up and simplified version of the script that generates the error. NOTE: an expanded version of this works when it is a nested class in the top program, without a constructor, and not in its own cs file. I use a list of these class objects as a sprce for my algorithm. MyKeyEvent.cs
I am an amateur with C# and this family of languages.
Thank you with any help.
Comment