I have a strategy that I recently noticed was creating an error message in the log file. The strategy compiles without any issue and even functions correctly, or at least I have not been able to determine any issue with it. The error states.
Error on executing DB command: System.InvalidOperationException: There was an error reflecting type ‘NinjaTrader.Ninjascript.Strategies.NAME
Does anyone know what this is or what may be causing it? I likely would have never noticed it, but I could not get NT8 to save my workspace with this strategy. The inability to save the workspace with this strategy added to a chart is what actually led me to the log file.
I would like to fix this if I can. Does anyone know what may be causing this or where I should begin to look in the strategy to determine the issue?
Thank you,
Ray

Comment