Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Contains duplicate method names

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

    Contains duplicate method names

    I have many problems with this error message. I have a indicator wichi is neccesary for the most of my strategies and I have continously this error message when I try to install my strategie in a new computer (of my customers).
    So, is there any way to use a indicator from a strategy without this indicator must be included when you compile your assembly files?

    Thanks in advance.

    Jesus.

    #2
    Jesus, have you already tried making custom indicators of the ones you need and then using custom method names in it as well to avoid duplications?

    Comment


      #3
      Yes Bertrand, I'm thinking can be a solution but I would like don't duplicate all my code with every new strategy.

      Comment


        #4
        soyjesus,

        Unfortunately you have to include all components in the export and there is no way around it.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Josh View Post
          soyjesus,

          Unfortunately you have to include all components in the export and there is no way around it.

          Ok, but is there any way to calculate double EMA (EMA from another EMA) without use DataSeries? I have problems using DataSeries in strategies.

          Comment


            #6
            Not sure I follow, you wouldn't need to custom data series for this -

            double myDoubleEMAValue = EMA(EMA(Close, 10), 10)[0];

            Comment


              #7
              Originally posted by NinjaTrader_Bertrand View Post
              Not sure I follow, you wouldn't need to custom data series for this -

              double myDoubleEMAValue = EMA(EMA(Close, 10), 10)[0];
              Ok, thanks. I think it's a good solution.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              558 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