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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    60 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X