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 llanqui, Today, 03:53 AM
    0 responses
    4 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    15 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Working...
    X