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