Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator export/import broken

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

    #16
    Please make sure all your indicators/strategies compile by pulling up any indicator in the editor and pressing F5.

    Also: what message is in the logs?

    Comment


      #17
      well, I use only in-built indicators, and only strategy wizard generated strategies

      message: error in compile process: value of length can not be smaller than zero. name of the parameter: length
      Attached Files

      Comment


        #18
        This looks like a corrupted .NET installation. If you can't uninstall, reinstall or repair your .NET 2.0 installation then the only options left are:
        - please contact Microsoft support for how to repair your .NET 2.0 installation
        - your could try a system restore

        Comment


          #19
          thanks, some infos: I use 1 XP pro and 1 vista business and 1 vista ultimate for NT on different hardwares. Only on XP pro works exporting perfect, on both vista i have to manually copy NT's mdb file to export/import. I dont think I will make a complete system build up (rebuilding only frame 2.0 may be better) just for the elegant method of export/import strats and indicators but one last question: have you ever seen perfect working exporting on Vista ?

          Comment


            #20
            - the mdb file is the NT DB nad has nothing to do with NinjaScript indicators/strategies
            - import/export works fine on all our Vista test machines

            Comment


              #21
              thanks for the answers, helped a lot

              Comment


                #22
                i have the same problem with my vista business german.

                if i try to export a indicator which uses other system indicators, then the export fails.

                on my winxp machine it asks for additionally exporting the used system indicators. thats where it seems to fail on the vista machine.

                any solution yet?

                thank you

                Comment


                  #23
                  Are you allowing it to export with the other indicators? Also, you cannot import or export until all of your NinjaScripts are error free.
                  Josh P.NinjaTrader Customer Service

                  Comment


                    #24
                    hi,

                    well, I don't use export/import anymore. Simply coping indicators, strats from the right folder (pc) to the right folder (other pc) and compiling them works always on all my op systems.

                    kittyan

                    Comment


                      #25
                      You NEVER should manually copy/move/remove ANY file in NT's installation folders unless advised by our support team. This easily could result in a corrupted installation.

                      Comment


                        #26
                        all indicators compile error free.
                        there is no question for exporting other scripts.
                        when i choose a problematic indicator and click on export, instantly the error message is displayed:
                        Error in compile process: Die Länge darf nicht kleiner als 0 (null) sein.

                        this means in english: the length may not be smaller than 0.

                        in the log is a message for every system indicator usage in that indicator:
                        error CS0118: NinjaTrader.Indicator.SMA ist ein Typ, wird jedoch als Variable verwendet.

                        (.. is a type, but is used as a variable)

                        thank you
                        / manuel

                        Comment


                          #27
                          Pull up the indicator in question in the NinjaScript editor and press F5. Does it compile fine? If not, then please fix any error and try again.

                          Comment


                            #28
                            like i did just write: it compiles error free.
                            actually, its a 1:1 copy of the system indicator CCI.
                            same problem with Bollinger, Stochastic...

                            Comment


                              #29
                              Please post the indicator file in question. You can find it in <my documents>/NinjaTrader6.5/bin/Custom/Indicators. Thanks

                              Comment


                                #30
                                ok - is attached.

                                but its really a 1:1 copy of CCI.
                                Attached Files

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by argusthome, 03-08-2026, 10:06 AM
                                0 responses
                                103 views
                                0 likes
                                Last Post argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                52 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                33 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                36 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                73 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X