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 NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    71 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    143 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    76 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    47 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    51 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X