• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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:

    https://ninjatrader.com/support/help...t_overview.htm

    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 Derjan, Today, 03:09 AM
        0 responses
        2 views
        0 likes
        Last Post Derjan
        by Derjan
         
        Started by exutmlay, Today, 02:38 AM
        0 responses
        1 view
        0 likes
        Last Post exutmlay  
        Started by CDXTrader, Today, 12:29 AM
        0 responses
        3 views
        0 likes
        Last Post CDXTrader  
        Started by TopGun13, Yesterday, 10:35 PM
        0 responses
        4 views
        0 likes
        Last Post TopGun13  
        Started by Audiofail, Yesterday, 05:40 AM
        6 responses
        19 views
        0 likes
        Last Post willwin
        by willwin
         
        Working...
        X