Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error compiling export assembly

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

    Error compiling export assembly

    After compiling a custom class (not strategy) called filters, which refers to a variable of Strategy base class, and successfully used this class in custom strategies, I tried to export it as a standalone assembly (.dll) for deployment to other machines.
    However Ninja gives a strange error, during export:

    10/28/2012 2:19:01 PM Default Error compiling export assembly: c:\Users\Documents\NinjaTrader 7\bin\Custom\Strategy\filters.cs(129,55) : error CS1061: 'NinjaTrader.Strategy.Strategy' does not contain a definition for 'MACD' and no extension method 'MACD' accepting a first argument of type 'NinjaTrader.Strategy.Strategy' could be found (are you missing a using directive or an assembly reference?)

    Seems to be a .net .dll reference issue.

    Please advise.

    #2
    yubo,

    I am happy to assist you.

    I have emailed you from our support address, I will continue working with you there.
    Adam P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    663 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    376 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    110 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    575 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    580 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X