Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
missing directive or an assembly reference
Collapse
X
-
missing directive or an assembly reference
Created a zip file to export to a new pc.... Getting the (are you missing a using directive or an assembly reference?) on import.. What do I have to include in my zip file to take care of this or what do I have to add to the New install of NT?Tags: None
-
Hello gg80108,
Please see here for common export problems.
Depending on what exactly is missing, you may need to add additional files to the export, or manually add the reference on the new pc through the right click > references screen.
To track down what is missing, you can attempt to manually copy over the files into the new installation and then compile. It will tell you exactly what's missing in order to compile successfully.Ryan M.NinjaTrader Customer Service
-
this seems really strange,, this came from your SampleBoolSeries (indicator) and SampleBoolSeriesStrategy(strategy) sample code, so when I imported these to my original PC this put the proper references on my pc also behind the scenes? Would these two samples have a hint as to what its looking for? This would save me alot of hunting and pecking...
Comment
-
Your trace file indicates the issue is with file EmaTSSupertrend.cs where "NinjaTrader.Indicator.DiffIndex' does not contain a definition for BullIndication...." There is similar message for BearIndication.
It looks like you have reference to these public properties but NT could not find them. If you did not explicitly include the files from the original reference sample, then you won't be able to import.Ryan M.NinjaTrader Customer Service
Comment
-
-
Right - and you must include everything else from that sample. The properties are linked to private variables which are also instantiated as new objects. If you're working that closely with this sample, then just include the whole file.Ryan M.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
670 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
379 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
111 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
575 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
582 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment