Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problems with "enum"

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

    Problems with "enum"

    Hello,

    Is there any problems using "enum"? I have a strategy with a lot of parameters and I want to use "enum" for the multiples options. But when I include a declaration "enum" in my code, my Ninjatrader hangs and I have to restart it.

    (I have the lastest version available of Ninjatrader)

    Thanks in advance and regards.

    #2
    Hello soyjesus,

    Using enums should be fine, we have a sample demonstrating their use here: https://ninjatrader.com/support/help...ned_parame.htm

    If you are seeing that when you do a specific action or use a specific line of code that the platform freezes, that would make a good case to create a simple test. For example make a new strategy that just has that one enum/syntax being used and see if that also crashes. If so, please provide that as I would like to see the syntax used to understand why that may be happening.


    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    89 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    135 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    69 views
    0 likes
    Last Post PaulMohn  
    Working...
    X