Announcement

Collapse
No announcement yet.

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

    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.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        85 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        143 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        83 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        256 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Started by Mindset, 04-21-2026, 06:46 AM
        0 responses
        334 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X