Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Drawing tools are not packaged with indicator
Collapse
X
-
Drawing tools are not packaged with indicator
Hi, I am trying to export my indicator and my drawing tools as compiled assembly in single add-on (zip file) . But it is adding only the indicator dll, but not dll of drawing tools. Do I need to follow any additional steps ?
Tags: None
-
Hi Paul, I am not referring or calling directly from indicator. I am using below reflection code to create the instance of drawing tool. My zip file contains only three file (Info, MyIndicator.cs, MyIndicator.dll)
Core.Globals.AssemblyRegistry["NinjaTrader.Custom"].CreateInstance("MyDrawingTool") as DrawingTools.DrawingTool;
Comment
-
Hello nandhumca,
Thanks for your reply.
There are cases where Reflection is required for copying objects to new assemblies, which is used by Drawing Tools which use PriceLevels, but using reflection outside of cases like this would go beyond our scope of support.
Could you elaborate on what you are trying to do when creating a new instance of the DrawingTool?
Note that DrawingToolTile uses ChartControl.TryStartDrawing to invoke drawing tool pens.
Getting past the reflection bits, could you also prepare a barebones set of scripts that we can import manually and take the same steps you are so we may better assist?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SalmaTrader, 07-07-2026, 10:26 PM
|
0 responses
35 views
0 likes
|
Last Post
by SalmaTrader
07-07-2026, 10:26 PM
|
||
|
Started by CarlTrading, 07-05-2026, 01:16 PM
|
0 responses
20 views
0 likes
|
Last Post
by CarlTrading
07-05-2026, 01:16 PM
|
||
|
Started by CaptainJack, 06-17-2026, 10:32 AM
|
0 responses
12 views
0 likes
|
Last Post
by CaptainJack
06-17-2026, 10:32 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:15 AM
|
0 responses
18 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:15 AM
|
||
|
Started by kinfxhk, 06-17-2026, 04:06 AM
|
0 responses
20 views
0 likes
|
Last Post
by kinfxhk
06-17-2026, 04:06 AM
|

Comment