Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

No new strategies compilation

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

    No new strategies compilation

    After moving NT to new computer from Vista 32 to W7 64. Some of the system indicators were doubled. Now I have RSI and RSI(1), Stohastic and Stohastic(1) etc.
    The problem is that new strategy (I tried to create even an empty one) is not compiled, mistake SC0101 pops up "Array of names NT already contains definition for Regression Channel" and other double indicators (I'm not at all referencing regression channel indicator. The same error appears in empty strategy)
    Last edited by Andrei Petrov; 10-22-2012, 02:54 PM.

    #2
    Andrei,

    I would suggest removing all instances of indicators named for example "Stochastic(1)". These are duplicates that internally have probably the same definitions so it is causing the NT compiler to be confused.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Repeating atribute "assembly type' now

      I deleted doubled indicators manually in explorer (was not able to delete them in NT because it called them "system indicators".
      After that I came across that some of bar types were also doubled and referenced as mistakes. I deleted those doubled bartypes. Then reference to non-existing indicators appeared. (JuricXXX was not present in current assemly of NT)
      Then I tried to change references from(to) Bin and Bin 64 and back
      from ...bin\WilsonORMapper.DLL to ...bin 64\WilsonORMapper.DLL
      from ...bin\NinjaTrader.Core.dll to bin 64\NinjaTrader.Core.dll.
      Finally I got lost with:
      array of names 'NinjaTrader.Indicator' already holds definition for 'RegressionChannel'
      and (this time only one instance of Regression chanel indicator exists);
      repeating atribute 'AssemblyTitle', 'AssemblyDescription','AssemblyConfiguration' and so on CS0579
      when I try to compile.
      Last edited by Andrei Petrov; 10-23-2012, 02:28 AM.

      Comment


        #4
        Andrei,

        Could you post a screen shot of the compiling errors you are getting?

        It could be this file is located somewhere in the My Documents / NinjaTrader 7 / bin / custom set of sub-folders.
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Screenshots

          Dear Adam, please see attached
          first line says " array of names Ninja Trader already containes definition for Regression Channel indicator
          second line and below "repeating attribute"
          Attached Files
          Last edited by Andrei Petrov; 10-23-2012, 03:11 PM.

          Comment


            #6
            Thanks - would you mind roughly translating the meaning of the first error message you get for the RegressionChannel.cs system indicator?
            BertrandNinjaTrader Customer Service

            Comment


              #7
              it says "array (area, range) of names "Ninja Trader" already containes definition (description) for Regression Channel indicator

              Comment


                #8
                Andrei, would you mind if we took a remote look at the setup through TeamViewer? For setting this up, please contact us at support at ninjatrader dot com.

                Thanks,
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Barry Milan, Today, 10:35 PM
                1 response
                7 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by WeyldFalcon, 12-10-2020, 06:48 PM
                14 responses
                1,428 views
                0 likes
                Last Post Handclap0241  
                Started by DJ888, Yesterday, 06:09 PM
                2 responses
                9 views
                0 likes
                Last Post DJ888
                by DJ888
                 
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                40 views
                0 likes
                Last Post jeronymite  
                Started by bill2023, Today, 08:51 AM
                2 responses
                16 views
                0 likes
                Last Post bill2023  
                Working...
                X