Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Issue importing indicator
Collapse
X
-
Issue importing indicator
I am having issues importing the indicator attached. I'm receiving the following error message "Import NinjaScript Archive File error. It says 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." Its a file downloaded from NinjaTrader indicator section and I've never received this message when importing other indicators.Tags: None
-
There is code referenced by there system but removed. You need to get it back to where it was.
Use the script editor to edit any indicator. In the editor right click and select references. This will tell show you all the DLL's Ninja is looking for. Then go see if there in BIN Custom.
-
Problem may not be this indicator. It may be the last indicator you imported. Open any indicator with NT's editor and select compile. One of the two conflicting indicators should list in the error messages at the bottom of the edit screen.
Comment
-
Originally posted by RJay View PostProblem may not be this indicator. It may be the last indicator you imported. Open any indicator with NT's editor and select compile. One of the two conflicting indicators should list in the error messages at the bottom of the edit screen.
Comment
-
Hello famumoe,
The issue is that this has code for NinjaTrader 6.5 (and also does not have the info file). The DrawLine() method for NinjaTrader 7 has an autoscale parameter.
The line of code:
DrawLine(CurrentBar.ToString(), 0, Values[0][0], 0, Values[3][0], xBarColor, DashStyle.Solid, ShadowWidth);
Should be:
DrawLine(CurrentBar.ToString(), true, 0, Values[0][0], 0, Values[3][0], xBarColor, DashStyle.Solid, ShadowWidth);
DrawLine(string tag, bool autoScale, int startBarsAgo, double startY, int endBarsAgo, double endY, Color color, DashStyle dashStyle, int width)
While the NinjaTrader support policy is that we do not create or modify scripts at request, I've already made the change to figure out the issue. So as a convenience to you, you can have the version I've re-exported and attached. Please see the original author for any further assistance with their script.Attached FilesChelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by bmartz, Today, 09:30 AM
|
2 responses
11 views
0 likes
|
Last Post
by bltdavid
Today, 11:24 AM
|
||
Started by f.saeidi, Today, 11:02 AM
|
1 response
3 views
0 likes
|
Last Post Today, 11:08 AM | ||
Started by geotrades1, Today, 10:02 AM
|
4 responses
12 views
0 likes
|
Last Post
by geotrades1
Today, 11:08 AM
|
||
Started by rajendrasubedi2023, Today, 09:50 AM
|
3 responses
16 views
0 likes
|
Last Post Today, 10:57 AM | ||
Started by lorem, Today, 09:18 AM
|
2 responses
11 views
0 likes
|
Last Post Today, 10:55 AM |
Comment