thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to use my own dll when i develop my own indicator?
Collapse
X
-
Hello UMLer,
Yes if you made a C# dll then you can add it as a reference using the NinjaScript editors right click -> references menu. The dll needs to be placed in the folder: Documents\NinjaTrader 8\bin\Custom
You would need to place the dll in that folder along with any other dlls or resources that your dll requires. Once you have done that and referenced it you can use it in the NinjaScript editor.
If you plan to use this dll in a future export there are some considerations to make. One is to never use using statements and always use yourr namespace when accessing types from your dll.If you export the indicator that uses the dll you need to select references from the drop down list during the export and select your DLL. After exporting you need to open the zip in windows explorer and drag your dll into the zip. https://ninjatrader.com/support/help...esOrNativeDllsCode:MyNamespace.MyTypeFromMyDll myVariableName = new MyNamespace.MyTypeFromMyDll();
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
369 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
237 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
205 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
292 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
252 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment