Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Issue importing indicator

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • NinjaTrader_ChelseaB
    replied
    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)
    https://ninjatrader.com/support/help...7/drawline.htm

    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 Files

    Leave a comment:


  • famumoe
    replied
    Is there a way to get an indicator into the script editor that does not load into your ninja trader platform? Maybe I can find the error if this is possible.

    Leave a comment:


  • famumoe
    replied
    Originally posted by RJay View Post
    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.
    Thanks for the response. Just so I'm clear. The indicator I'm attempting to import may have issues because of other indicators I've imported? If the indicators that i have all work, when i compile it, why would it show an error message? Can indicators run with errors?

    Leave a comment:


  • RJay
    replied
    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.

    Leave a comment:


  • famumoe
    replied
    Thank you for that response. The issue is, I can't upload the indicator to even get it to script editor.

    Leave a comment:


  • esmall
    replied
    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.

    Leave a comment:


  • famumoe
    started a topic Issue importing indicator

    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.
    Attached Files

Latest Posts

Collapse

Topics Statistics Last Post
Started by traderhawk, Today, 05:53 AM
1 response
19 views
0 likes
Last Post NinjaTrader_Jesse  
Started by ezrollin, Yesterday, 11:26 PM
1 response
40 views
0 likes
Last Post NinjaTrader_PaulH  
Started by ezrollin, Yesterday, 09:10 PM
1 response
52 views
0 likes
Last Post NinjaTrader_PaulH  
Started by Angus7, Today, 04:31 AM
8 responses
52 views
0 likes
Last Post Angus7
by Angus7
 
Started by aligator, Yesterday, 11:24 PM
0 responses
43 views
0 likes
Last Post aligator  
Working...
X