Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compilation errors when trying to export

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Compilation errors when trying to export

    Hi,

    I'm working with a set of indicators I've developed, and they are working perfectly locally.

    When I'm trying to export I'm getting compilation errors:
    Code:
    Error compiling export assembly: C:\Users\haimc\Documents\NinjaTrader 8\bin\Custom\Indicators\@CandleStickPattern.cs(291 ,15): error CS0101: The namespace 'NinjaTrader.NinjaScript.Indicators' already contains a definition for 'CandleStickPatternLogic'
    Error compiling export assembly: C:\Users\haimc\Documents\NinjaTrader 8\bin\Custom\Indicators\@CandleStickPattern.cs(30, 15): error CS0101: The namespace 'NinjaTrader.NinjaScript.Indicators' already contains a definition for 'CandlestickPattern'
    Error compiling export assembly: C:\Users\haimc\Documents\NinjaTrader 8\bin\Custom\Indicators\@CandleStickPattern.cs(308 ,15): error CS0111: Type 'CandleStickPatternLogic' already defines a member called 'Evaluate' with the same parameter types
    Error compiling export assembly: C:\Users\haimc\Documents\NinjaTrader 8\bin\Custom\Indicators\@CandleStickPattern.cs(302 ,10): error CS0111: Type 'CandleStickPatternLogic' already defines a member called 'CandleStickPatternLogic' with the same parameter types
    Error compiling export assembly: C:\Users\haimc\Documents\NinjaTrader 8\bin\Custom\Indicators\@CandleStickPattern.cs(526 ,13): error CS0101: The namespace '<global namespace>' already contains a definition for 'ChartPattern'
    I'm using several other built-in and private indicators without any issue in this package, but if I add the CandleStickPattern I'm getting these errors.

    I'll be glad if you can help with any hint.

    Thanks!

    #2
    Hello haimcn,

    Explicitly add the CandlestickPattern indicator to the export by checking the box for the System indicator (select System Indicators from the dropdown in the export window).
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3

      That did it!!
      Thanks!!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      556 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      324 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      101 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      545 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      547 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X