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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    47 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    33 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    51 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Working...
    X