But I am attaching just the CS Files below
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Compiled Assembly Importing Help
Collapse
X
-
Hello Vikuno1,
Thanks for your notes.
I have tested exporting the TestEnums, TestIndicator, and TestAnalyzerColumn scripts and I was able to export all three DLLs successfully and reimport them into the platform successfully.
First, export the TestEnums file as a DLL. Then, exclude the TestEnums script, TestIndicator script, and TestAnalyzerColumn script from compilation.
Import the TestEnums DLL file. Uncheck the 'Exclude from compilation' option for the TestIndicator and TestAnalyzerColumn scripts so that they are included in compilation.
Export the TestIndicator script as a DLL with a reference to the TestEnums DLL. Exclude the TestAnalyzerColumn file and the TestIndicator file from compilation. Import the TestIndicator DLL file.
Then, uncheck the 'Exclude from compilation' option for the TestAnalyzerColumn file so it is included in compilation. Export the TestAnalyzerColumn script as a DLL with a reference to the TestEnums DLL and a reference to the TestIndicator DLL.
Exclude the TestAnalyzerColumn script from compilation and import the TestAnalyzerColumn DLL.
See this demonstration video: https://brandonh-ninjatrader.tinytak...M18yMjAyNDI5Mw<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
So I did the process on the video and still got this message (Attaching Below, attaching pic of DLLs in the assembly list too)Originally posted by NinjaTrader_BrandonH View PostHello Vikuno1,
Thanks for your notes.
I have tested exporting the TestEnums, TestIndicator, and TestAnalyzerColumn scripts and I was able to export all three DLLs successfully and reimport them into the platform successfully.
First, export the TestEnums file as a DLL. Then, exclude the TestEnums script, TestIndicator script, and TestAnalyzerColumn script from compilation.
Import the TestEnums DLL file. Uncheck the 'Exclude from compilation' option for the TestIndicator and TestAnalyzerColumn scripts so that they are included in compilation.
Export the TestIndicator script as a DLL with a reference to the TestEnums DLL. Exclude the TestAnalyzerColumn file and the TestIndicator file from compilation. Import the TestIndicator DLL file.
Then, uncheck the 'Exclude from compilation' option for the TestAnalyzerColumn file so it is included in compilation. Export the TestAnalyzerColumn script as a DLL with a reference to the TestEnums DLL and a reference to the TestIndicator DLL.
Exclude the TestAnalyzerColumn script from compilation and import the TestAnalyzerColumn DLL.
See this demonstration video: https://brandonh-ninjatrader.tinytak...M18yMjAyNDI5Mw
The only things that seem different are the version of Ninja (I am 8.0.28, Looks like you may be 8.1) and your enum reference was listed as an AddOn not an indicator. Also my indicator and enum are both in a folder in the indicator folder.
Let me know if I am doing something wrong, or I can send a video of the process I am doing.
Sorry this is taking so long, appreciate the help!
Comment
-
Hello Vikuno1,
Thanks for your notes.
I have tested this on a new installation of NinjaTrader 8.0.28.0. I added the TestEnums file and TestIndicator file you had shared into a subfolder in the Indicators folder as you noted. The TestAnalyzerColumn file you shared is in the MarketAnalyzerColumn folder in the Editor.
The scripts exported and imported successfully without error.
First, export the TestEnums file as a DLL. After exporting the TestEnums file as a DLL, exclude the TestEnums, TestIndicator, and TestAnalyzerColumn files from compilation.
Import the TestEnumsDLL file onto the platform. Uncheck the 'Exclude from compilation' option for the TestIndicator file and TestAnalyzerColumn file so they are included in compilation.
Next, export the TestIndicator indicator file as a DLL and make sure the add a reference to the TestEnumsDLL in your export. Exclude the TestIndicator file and TestAnalyzerColumn file from compilation.
Import the TestIndicatorDLL file onto the platform. Uncheck the 'Exclude from compilation' option for the TestAnalyzerColumn file so it is included in compilation.
Export the TestAnalyzerColumn file as a DLL and make sure to add a reference to the TestEnumsDLL and TestIndicatorDLL in your export. Exclude the TestAnalyzerColumn file from compilation.
Import the TestAnalyzerColumnDLL onto the platform.
See this demonstration video: https://brandonh-ninjatrader.tinytak...NF8yMjAyNTU1NQ
If you are still seeing errors occur after following the exact same steps seen in the demonstration video linked above, please send a demonstration video showing the exact steps you are taking.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
Ok here is a video, hopefully I am doing something stupid. This is NinjaTrader 8.0.28Originally posted by NinjaTrader_BrandonH View PostHello Vikuno1,
Thanks for your notes.
I have tested this on a new installation of NinjaTrader 8.0.28.0. I added the TestEnums file and TestIndicator file you had shared into a subfolder in the Indicators folder as you noted. The TestAnalyzerColumn file you shared is in the MarketAnalyzerColumn folder in the Editor.
The scripts exported and imported successfully without error.
First, export the TestEnums file as a DLL. After exporting the TestEnums file as a DLL, exclude the TestEnums, TestIndicator, and TestAnalyzerColumn files from compilation.
Import the TestEnumsDLL file onto the platform. Uncheck the 'Exclude from compilation' option for the TestIndicator file and TestAnalyzerColumn file so they are included in compilation.
Next, export the TestIndicator indicator file as a DLL and make sure the add a reference to the TestEnumsDLL in your export. Exclude the TestIndicator file and TestAnalyzerColumn file from compilation.
Import the TestIndicatorDLL file onto the platform. Uncheck the 'Exclude from compilation' option for the TestAnalyzerColumn file so it is included in compilation.
Export the TestAnalyzerColumn file as a DLL and make sure to add a reference to the TestEnumsDLL and TestIndicatorDLL in your export. Exclude the TestAnalyzerColumn file from compilation.
Import the TestAnalyzerColumnDLL onto the platform.
See this demonstration video: https://brandonh-ninjatrader.tinytak...NF8yMjAyNTU1NQ
If you are still seeing errors occur after following the exact same steps seen in the demonstration video linked above, please send a demonstration video showing the exact steps you are taking.
https://www.loom.com/share/f189ffb76652449f886ce958751fc300?sid=cde476d3-1e48-460f-b6cf-a1e2668a5ed6 zz0.yv8vw8vjpdrzz
Comment
-
Hello Vikuno1,
Thanks for your notes.
To ensure that you are using the same exact scripts as I am and that no third-party add-ons are affecting the test, please create a clean environment by following the steps below.
Then, follow the exact same steps in order that are seen in the demonstration video I shared in post # 19 using the scripts attached to this post.
Creating a clean environment can be done by following the steps below:- Close NinjaTrader 8, and rename the "NinjaTrader 8" folder in My Documents to something like: "NinjaTrader 8 OLD"
- Uninstall NinjaTrader from the Windows Control Panel and reinstall using the installer from account.ninjatrader.com
- Add the required scripts and test the same exact steps seen in the demonstration video on post # 19.
If you ever need to switch back to your original platform, you may do so by closing NinjaTrader and swapping the platform folder names.
For example, Close NinjaTrader and rename the new "NinjaTrader 8" folder to "NinjaTrader 8 NEW" and the "NinjaTrader 8 OLD" folder to "NinjaTrader 8." Then restart the platform. Simply put: NinjaTrader 8 will always load the "NinjaTrader 8" folder in My Documents.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
The Clean Ninja Worked. Any Way I can find out which third party add on could of done it? Thank you for your help!Originally posted by NinjaTrader_BrandonH View PostHello Vikuno1,
Thanks for your notes.
To ensure that you are using the same exact scripts as I am and that no third-party add-ons are affecting the test, please create a clean environment by following the steps below.
Then, follow the exact same steps in order that are seen in the demonstration video I shared in post # 19 using the scripts attached to this post.
Creating a clean environment can be done by following the steps below:- Close NinjaTrader 8, and rename the "NinjaTrader 8" folder in My Documents to something like: "NinjaTrader 8 OLD"
- Uninstall NinjaTrader from the Windows Control Panel and reinstall using the installer from account.ninjatrader.com
- Add the required scripts and test the same exact steps seen in the demonstration video on post # 19.
If you ever need to switch back to your original platform, you may do so by closing NinjaTrader and swapping the platform folder names.
For example, Close NinjaTrader and rename the new "NinjaTrader 8" folder to "NinjaTrader 8 NEW" and the "NinjaTrader 8 OLD" folder to "NinjaTrader 8." Then restart the platform. Simply put: NinjaTrader 8 will always load the "NinjaTrader 8" folder in My Documents.
Comment
-
Hello Vikuno1,
Thanks for your notes.
To determine which third-party addon is causing the error message to occur, you would need to add each third-party addon to the clean environment one by one and test after importing each addon to see if the behavior occurs after adding a third-party addon.
Once you add a third-party addon to the platform, test for the behavior, and see the behavior occur, it is likely that the last third-party addon added to the platform is causing the behavior to occur.<span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>
Comment
-
Alright very tedious but makes sense. I can hopefully take it from here. Thank you so much for your help and hopefully you won't here from me for some time haha! Thank you NinjaTrader_BrandonH and NinjaTrader_Jesse hope you guys have a Merry Christmas!Originally posted by NinjaTrader_BrandonH View PostHello Vikuno1,
Thanks for your notes.
To determine which third-party addon is causing the error message to occur, you would need to add each third-party addon to the clean environment one by one and test after importing each addon to see if the behavior occurs after adding a third-party addon.
Once you add a third-party addon to the platform, test for the behavior, and see the behavior occur, it is likely that the last third-party addon added to the platform is causing the behavior to occur.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
579 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment