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 algospoke, 04-17-2024, 06:40 PM
    6 responses
    49 views
    0 likes
    Last Post algospoke  
    Started by arvidvanstaey, Today, 02:19 PM
    4 responses
    11 views
    0 likes
    Last Post arvidvanstaey  
    Started by samish18, 04-17-2024, 08:57 AM
    16 responses
    61 views
    0 likes
    Last Post samish18  
    Started by jordanq2, Today, 03:10 PM
    2 responses
    9 views
    0 likes
    Last Post jordanq2  
    Started by traderqz, Today, 12:06 AM
    10 responses
    21 views
    0 likes
    Last Post traderqz  
    Working...
    X