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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      52 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      25 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      24 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X