But when I click on Developing AddOns Overview, there are no samples available.
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!
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
NinjaTrader
What is NTWindow?
Collapse
X
-
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.
Tags: None
-
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 FilesChris L.NinjaTrader Customer Service
-
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
-
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 bortz, 11-06-2023, 08:04 AM
|
47 responses
1,606 views
0 likes
|
Last Post
by aligator
Today, 07:22 PM
|
||
Started by jaybedreamin, Today, 05:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by jaybedreamin
Today, 05:56 PM
|
||
Started by DJ888, 04-16-2024, 06:09 PM
|
6 responses
18 views
0 likes
|
Last Post
by DJ888
Today, 05:12 PM
|
||
Started by Jon17, Today, 04:33 PM
|
0 responses
4 views
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
13 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
Comment