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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    23 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    20 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    14 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    10 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    41 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X