Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Error importing compiled indicator
Collapse
X
-
Error importing compiled indicator
I have an indicator that references two other custom indicators and I am compiling it to a .cs and .dll . When others try to import they get this error (attached). The blacked out indicator is a third party (and salamander protected) indicator we all use. I have changed all the dataseries, variable names, etc in the three indicators that compile together and nothing works. If not compiled they import with no problem but I dont want the code exposed. Any ideas?Tags: None
-
I'm sure that would work but that indicator package is part of the trading strategy. That is not the answer. My indicator is designed to be used in conjunction with the other assembly while not actually accessing it since the other is protected.Last edited by eDanny; 04-02-2009, 04:36 PM.
Comment
-
You are mistaken, I am not including anything but my indicators, which dont even reference the other custom assembly at all. Two of my indicators are used to duplicate some of the output of the third party assembly, without using the same code, so that my third indicator can use that data to do what it does. There is no connection at all and yet the error suggests there is. How could I be using duplicate method names since I cant see the code from the other assembly? As I said, I have changed the names of all dataseries and variables in all three of my indicators and still the issue exists.
Comment
-
No use of any advanced techniques.Originally posted by NinjaTrader_Josh View PosteDanny,
Any use of enums?
Comment
-
Yes I already found out that wont work while testing it myself. They have no uncompiled versions. Even if they did, the error would be different. Just explain to me exactly what that error would normally mean. How can someone elses indicator, totally unrelated to mine, affect mine like that?
Comment
-
I tried that and found a bug (I believe) in NT. When trying to export and compile another unrelated indicator I was informed that in order to import it I would have to have two 3rd party indicators installed. There was no relation between these indicators but since I had those assemblies installed, NT requires them for any other person to import! How crazy is that???Originally posted by NinjaTrader_Josh View PosteDanny,
As stated, we are out of ideas. Please try exporting as assembly some other basic scripts.
Back to my original indicator. Since the other users who had problems trying to import my indicator had a different version of some of these assemblies, they were not able to import. I had to remove my assemblies in order to export an indicator that wouldnt require those assemblies on being imported. That is just wrong. Nothing should be required that isnt called in the indicator!Last edited by eDanny; 04-03-2009, 12:45 PM.
Comment
-
Ok I'll give that a try.Originally posted by NinjaTrader_Josh View PosteDanny,
If you are experiencing such behavior there is something likely wrong with your NinjaScript environment. I suggest you try to get yourself a clean reinstall and see if you can export as assembly then.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment