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!
See more
See less

Partner 728x90

Collapse

UserDefinedMethod

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

    UserDefinedMethod

    I was trying to export an indicator and forgot I had a UserDefinedMethod in it. This method was saved to a different .cs file than UserDefinedMethods.cs

    I got a compile error duing the export which made me immediately remember I called the UserDefinedMethod.

    When I opened the indicator for edit I then got an error telling me I have a duplicate name. I get that orange (ish) color letting me know it wasn't in this code. I clicked on the error which brought up the code.

    When I tried to compile that code I got the same error (same color). I know the issue is due to the way indicators and UserDefinedMethods are handled, I just can't find the extra file with the code in question.

    I even tried deleting the code with the name of the UserDefinedMethod (I made a back up first). Of course, now everthing compiles fine but I can't edit the method because I can't find it.

    Any ideas where the extra file is?

    Best Regards,
    Scott

    #2
    Hi Scott, I got your screenshot send to our support desk - will reply shortly.

    Thanks,
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Karado58, 11-26-2012, 02:57 PM
    8 responses
    14,828 views
    0 likes
    Last Post Option Whisperer  
    Started by Option Whisperer, Today, 09:05 AM
    0 responses
    1 view
    0 likes
    Last Post Option Whisperer  
    Started by cre8able, Yesterday, 01:16 PM
    3 responses
    11 views
    0 likes
    Last Post cre8able  
    Started by Harry, 05-02-2018, 01:54 PM
    10 responses
    3,204 views
    0 likes
    Last Post tharton3  
    Started by ChartTourist, Today, 08:22 AM
    0 responses
    6 views
    0 likes
    Last Post ChartTourist  
    Working...
    X