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

What is NTWindow?

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

    What is NTWindow?

    The documentation at https://ninjatrader.com/support/help...s/ntwindow.htm says

    Tip: For a complete, working example of this class in use, download framework example located on our Developing AddOns Overview



    But when I click on Developing AddOns Overview, there are no samples available.

    #2
    Hello, texasnomad.

    Thank you for the post.

    I have made our product management team aware of this link, It should be directed to this page:



    I have also included a minimalistic AddOn window example script. You may import this via Tools>Import>NinjaScript Addon, then select the .zip you downloaded. You can create a new instance of the window by going to New>Addon Shell.

    Please let us know if we may be of any further assistance.
    Attached Files
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      I downloaded the VS Project and had a quick look through the code. All seems reasonably clear within VS.

      I see that the build type is a dll, which I was able to compile successfully. What's the process for wrapping that dll into the usual zip file for the NT AddOn import process?

      Comment


        #4
        Hello texasnomad,

        Thanks for the follow-up.

        When you compile the project in Visual Studio, all of the dependencies needed by your script will be compiled into the single .dll file by Visual Studio. You will have to create your own .Zip file and add the Info.xml manually. If you export a simple indicator an, .xml file will be generated. Take this file and the .dll that is created by Visual Studio. Highlight both of them > Right Click> Select Send To> Compressed folder. If you look into your .zip it should look like this:

        MyAddOn.zip
        |_________
        MyCode.dll
        Info.xml

        Both of the files should be at the root of the .zip directory.

        Please see the following links on Exporting as well as Commercial distribution:
        https://ninjatrader.com/support/help...us/?export.htm - Exporting
        https://ninjatrader.com/support/help..._procedure.htm - Distribution procedure.

        Please let us know if we may be of any further assistance.
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cls71, Today, 04:45 AM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by TradeForge, Today, 02:09 AM
        1 response
        22 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by elirion, Today, 01:36 AM
        2 responses
        13 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by DJ888, 04-16-2024, 06:09 PM
        5 responses
        14 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by samish18, Yesterday, 08:31 AM
        4 responses
        14 views
        0 likes
        Last Post elirion
        by elirion
         
        Working...
        X