Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Creating custom indicator imbedded in another indicator
Collapse
X
-
Creating custom indicator imbedded in another indicator
I have created a number of indicators and I created a custom indicator that is referenced a number of times. Is there a way that when creating zip files dlls and when importing add on it states do you want to replace xyz indicator. It is like when you add a ninjatrader sma or max, min swing etc. My issue arises if the user installs a zip file it will need that same base indicator I have created and if there are more than 1 assemblies installed it will give an error that there are duplicates.Tags: None
-
Hello ballboy11,
Thanks for your post.
There would not be a way to specify precedence to use one assembly over the other if you have a dependent indicator in your assemblies. The message for replacing the indicator would be presented when importing source code and you already have source code for that indicator on your platform. My recommendation would be to have dependent indicators in separate assembly, and when you export a package that uses this dependency to add a reference to the assembly that includes the dependent indicator so your clients do not import duplicate NinjaScripts from multiple assemblies.
References can be added when exporting the NinjaScript package and selecting Type. Please make sure you have imported the compiled assembly after you have exported your dependent indicator assembly. You can also add the dependent assembly to the export manually by following the steps below.
Adding custom assemblies or native DLL's - https://ninjatrader.com/support/help...esOrNativeDlls
Let us know if we can be of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
156 views
1 like
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
90 views
1 like
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
140 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
130 views
1 like
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
107 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment