NinjaScript File Error Code Line Column
Strategy\SwingBreakouts.cs The namespace 'NinjaTrader.Strategy' already contains a definition for 'SwingBreakouts' CS0101 - click for info 47 18
What's up with that? I named the strategy DorkDoofouts. Here's the code:
[Description("Enter the description of your strategy here")]
public class DorkDoofouts : Strategy
{
#region Variables
// Wizard generated variables
private int myInput0 = 1; // Default setting for MyInput0
// User defined variables (add any user defined variables below)
#endregion
/// <summary>
/// This method is used to configure the strategy and is called once before any strategy method is called.
/// </summary>
protected override void Initialize()
{
CalculateOnBarClose = true;
}
Why can't I compile this strategy? I closed and restarted NT and it still does this. Something is screwed up somewhere.


Comment