Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Saving Templates Error

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

    Saving Templates Error

    Hello!

    Quick question, I have an indicator that when it is in normal .cs form completely open I can save a template but as soon as I turn it into a DLL it says that it cannot save the template.

    I am sure you guys have run into this before, am I doing something wrong?

    Pasting .txt file with my inputs below. Obviously everything is in the correct spot but these are the inputs
    Attached Files

    #2
    Hello Vikuno1,

    This may be because you have the custom enum defined in a NinjaTrader.Custom namespace: NinjaTrader.NinjaScript.Indicators

    I would suggest making the enum in an entirely unique namespace like: namespace MyCustomNamespace

    Then reference that namespace when using the enums in your indicator.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    44 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    58 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    35 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    95 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    59 views
    0 likes
    Last Post PaulMohn  
    Working...
    X