Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Export strategy NT8

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

    Export strategy NT8

    Hi.

    I've developed strategy on NT8 and I want to send it to my client.

    How do I export the source code ?
    How do I export a compiled file ? (without source-code)

    thanks

    #2
    Hello gsapir,

    Thanks for writing in to our Support team.

    You will want to navigate to your Control Center window and select Tools --> Export --> NinjaScript Add-on to open the Export NinjaScript window.

    Here, you have an option to export as a compiled assembly. Select this option if you would like to export your NinjaScript Add-on as a compiled assembly, do not select this option if you would like to export the source files.

    You can find more information about exporting NinjaScript Add-ons in our help guide here:
    http://ninjatrader.com/support/helpG...-us/export.htm

    Please let me know if I may be of any further assistance.
    Alan S.NinjaTrader Customer Service

    Comment


      #3
      thanks !
      that helped !

      Comment


        #4
        Hello,
        in the add window when exporting a NinjaScript file (strategy) there is no selection? Is there something else to declare somewhere? Thanks a lot!

        Click image for larger version

Name:	export_empty.png
Views:	241
Size:	34.4 KB
ID:	1254019

        Comment


          #5
          Hello signalworks,

          To export a strategy it would need to be one that you have developed using the NinjaScript editor or strategy builder tool. Have you created a strategy using one of these tools and do you see the strategy listed in the Strategies folder inside the NinjaScript editor?
          JesseNinjaTrader Customer Service

          Comment


            #6
            Thank you, yes, it is seen in teh strategy-folder in NT-Script-Editior.

            Comment


              #7
              Hello signalworks,

              If you select All from the dropdown do you see it listed in that list?
              JesseNinjaTrader Customer Service

              Comment


                #8
                Could it be that you have compilation errors and therefore ALL of the custom NinjaScript is missing? Do you have any compilation errors when you compile in NinjaScript Editor?
                Bruce DeVault
                QuantKey Trading Vendor Services
                NinjaTrader Ecosystem Vendor - QuantKey

                Comment


                  #9
                  Hello,
                  there are no compilation errors and the strategy runs correctly in the chart.​​

                  Click image for larger version

Name:	choose_all.png
Views:	239
Size:	50.8 KB
ID:	1254169

                  Comment


                    #10
                    Have you tried a repair installation (after making a backup)?
                    Bruce DeVault
                    QuantKey Trading Vendor Services
                    NinjaTrader Ecosystem Vendor - QuantKey

                    Comment


                      #11
                      Hello Bruce,
                      I have now installed the latest version 8.1.1.6, with the same result - empty strategy-window. In the path documents/NinjaTrader 8/bin/Custom/Strategies the strategy is present as a .cs-file.
                      However, e.g. system indicators are available in the export window. Is there another way for the export (compiled)?

                      Comment


                        #12
                        Hello signalworks,

                        I am unsure what would cause that to happen, as a troubleshooting step please try setting the platform language to english and then restart and test again. Do the items show up?
                        JesseNinjaTrader Customer Service

                        Comment


                          #13
                          Hi Jesse,
                          I have set the language to English, restarted and the export list Strategies is still empty.

                          Comment


                            #14
                            Hello signalworks,

                            If you create a new indicator does that show up in the list?

                            And just to confirm, in the NinjaScript editor you are compiling using F5 or Right click -> Compile and not just saving the file correct?

                            If these items do not help please use the help -> email support option and make sure log and trace files is checked. We would need to check if you are getting some kind of error or if anything else is logged.
                            JesseNinjaTrader Customer Service

                            Comment


                              #15
                              Hi Jesse,

                              yeah, thank you! When I create a new strategy in the NT_script editor and compile it here with F5, it shows me in the export window under Strategies. Copied my strategy code into this strategy with the appropriate adjustments and the export works.
                              Originally I had created and compiled the strategy with VisualStudio2019 (started from the NT-ScriptEditior) which also worked fine as the strategy works correctly in the chart.
                              This would possibly be a bug regarding the use of VisualStudio. Thanks for the tip above!​

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by DanielTynera, Today, 01:14 AM
                              0 responses
                              2 views
                              0 likes
                              Last Post DanielTynera  
                              Started by yertle, 04-18-2024, 08:38 AM
                              9 responses
                              40 views
                              0 likes
                              Last Post yertle
                              by yertle
                               
                              Started by techgetgame, Yesterday, 11:42 PM
                              0 responses
                              12 views
                              0 likes
                              Last Post techgetgame  
                              Started by sephichapdson, Yesterday, 11:36 PM
                              0 responses
                              2 views
                              0 likes
                              Last Post sephichapdson  
                              Started by bortz, 11-06-2023, 08:04 AM
                              47 responses
                              1,615 views
                              0 likes
                              Last Post aligator  
                              Working...
                              X