Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript export/import function related errors

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

    NinjaScript export/import function related errors

    Hi,

    I am getting errors like this with 6.0.1000.6 after an export

    The namespace 'NinjaTrader.Indicator' already contains a definition for 'IndicatorX';Indicator\IndicatorX.cs;35;18;


    I am forced to delete the indicator, because of constant error messages.
    Any way to fix this?

    Thanks

    #2
    Hi Rollins,

    1) Please make sure that you don't have any *.cs file under
    <NinjaTrader user folder>\bin\Custom\Tmp\Import (and the subfolders).

    2) Did you somehow copy your indicator to an other file ? Make sure that your IndicatorX is defined in the file IndicatorX.cs. If there is a further definition in a second file, please remove that file from the Custom folder and any subfolders.
    Last edited by NinjaTrader_Christian; 10-31-2007, 05:16 AM.
    ChristianSenior Software Developer

    Comment


      #3
      Christian,

      Thanks for your help, unfortunately all looks fine according to your checklist.

      I am going to erase my old NT settings, start from scratch, will only export indicators via zip archives manually.

      Cheers

      Comment


        #4
        Hi Rollins,

        can you please:
        - open your indicatorX in the NinjaTrader editor
        - press F5 to compile the custom dll
        - if there are errors, please widen the editor window and make a screenshot, and send this screenshot to christian AT ninjatrader DOT com ?

        Thank you,
        Christian
        ChristianSenior Software Developer

        Comment


          #5
          Chrisitan,
          I am getting erros on every custom indicator now, the message is always the same one as posted before except for the Indicator name.
          No other error message.

          I'll skip making the screenshot, it won't give you any new info

          Cheers

          Comment


            #6
            Hi Rollins,

            I can't reproduce your problem here at least without further information. Is it possible to zip the whole content of your Custom folder (including all subfolders), and send it to christian AT ninjatrader DOT com ?

            Please delete any files only with the extension *.dll from the Custom\Tmp-folder before.

            Thanks,
            Christian
            ChristianSenior Software Developer

            Comment


              #7
              Too late already emptied the tmp folder, why would it be called tmp otherwise?

              Comment


                #8
                Resolved, thanks to Chrstian. Don't leave cs files in your export folder.

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Mongo, Today, 11:05 AM
                2 responses
                6 views
                0 likes
                Last Post Mongo
                by Mongo
                 
                Started by guillembm, Today, 11:25 AM
                0 responses
                2 views
                0 likes
                Last Post guillembm  
                Started by Tim-c, Today, 10:58 AM
                1 response
                2 views
                0 likes
                Last Post NinjaTrader_Jesse  
                Started by traderqz, Yesterday, 09:06 AM
                4 responses
                27 views
                0 likes
                Last Post traderqz  
                Started by traderqz, Today, 12:06 AM
                4 responses
                7 views
                0 likes
                Last Post traderqz  
                Working...
                X