As a test, it had me delete the Custom > bin and obj folders. NinjaTrader did not recreate them after being closed and restarted. It also did not create them after updating the program from Version 8.1.3.1 to Version 8.1.41. I used RevoUninstaller to uninstall NinjaTrader 8.1.3.1 and eliminate the many remaining files and registry entries before installing the new version.
In addition, the Log tab no longer appears in the Control Center panel.
At one point, the AI instructed me to navigate to \Custom\References\ to confirm that the necessary DLLs were present. The References folder itself was missing. This occurred after upgrading to Version 8.1.4.1.
As a test, GPT-4.0 had me try to compile the following routine, and several variations of it, in both versions of NinjaTrader:
region Using declarations
using NinjaTrader.NinjaScript;
using NinjaTrader.Gui.Tools; // Required for Draw.TextFixed
#endregion
namespace NinjaTrader.NinjaScript.Strategies
{
public class TestStrategyType : Strategy
{
protected override void OnStateChange()
{
if (State == State.SetDefaults)
{
Name = "TestStrategyType";
}
else if (State == State.Configure)
{
// Display the base class type on the chart
Draw.TextFixed(this, "BaseClassType", $"Base class type: {this.GetType().BaseType.FullName}", TextPosition.TopLeft);
}
}
}
}
Compilation failed and brought the following error codes:
At line 18, column 17: "The name 'Draw' does not exist in the current context.
At line 18, column 111: "The name 'TextPosition' does not exist in the current context.
There is more, but enough. Please help me find out what is going wrong, and tell me how to correct it. I imagine a first step will be to tell me how to find the log files and send them to you in the absence of the Log tab.
Deep thanks for whatever help you can provide.
Comment