Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Indicator Import Problem
Collapse
X
-
Indicator Import Problem
Hey guys, unfortunately I am having a problem importing a newer version of an indicator I use. When I try to import a new copy with the same name, it gives me a message "duplicate copies might exist of this indicator on this computer, etc" but when I delete the duplicate copies, then it tells me I cannot import the new version because the strategies that refer to this indicator cannot compile and cause errors? Is there a way around this problem?Tags: None
-
Hello elitetradernyc,
Are you referring to the following messag "Import failed: The NinjaScript Archive file may contain duplicate method names that already exist on your PC or there is a required file missing on either your PC or in the import archive."?
If not could you send a screenshot of the message you are receiving.
If you are getting the message above then, it is likely that it is declaring a enum, class, method, ect... that are being used by another indicator. Are you selecting to overwrite all of the files or only some of them?
Happy to be of further assistance.JCNinjaTrader Customer Service
-
Hi Sir, yes thats right it gives me this exact error message. It has an enum inside it which is referred to during the call of the indicator in the strategy. I did select overwrite existing files, which it proceeded with but then it gave me that message and said failed? Any ideas on how to reimport the indicator?
Comment
-
Hello elitetradernyc,
Thanks for the info.
With a public enum that is being referenced in a different file, you may want to try to manually import it to be able to get around this.
To try this you may extract the ".cs" manually and place it in the following directory and compiling the indicator from NinjaTrader.
* (My) Documents\NinjaTrader 7\bin\Custom\Indicator
Restart NinjaTrader, compile your indicators
* From the Control Center -> Tools -> Edit NinjaScript
* Select any indicator from the list
* Once the code window appears
* Right click in the code -> Compile
Let us know if that helps.JCNinjaTrader Customer Service
Comment
-
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by cmtjoancolmenero, Yesterday, 03:58 PM
|
11 responses
39 views
0 likes
|
Last Post Today, 11:40 AM | ||
Started by FrazMann, Today, 11:21 AM
|
0 responses
3 views
0 likes
|
Last Post
by FrazMann
Today, 11:21 AM
|
||
Started by geddyisodin, Yesterday, 05:20 AM
|
8 responses
52 views
0 likes
|
Last Post Today, 10:45 AM | ||
Started by DayTradingDEMON, Today, 09:28 AM
|
4 responses
26 views
0 likes
|
Last Post Today, 10:47 AM | ||
Started by George21, Today, 10:07 AM
|
1 response
22 views
0 likes
|
Last Post Today, 10:43 AM |
Comment