Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

State.Defaults Name Parameter

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

    State.Defaults Name Parameter

    Is there any limit on the content or length of this parameter? I have found that it has issues processing underscores. I have two underscores and it displays only one of them.

    #2
    Hello,
    Thanks for your post.

    There is not a hard limit on name length to my knowledge. This is likely happening because of Microsoft's naming convention requirements that we follow. One of their rules states to not use underscores at all. That being said I have seen situations where you can get away with it, but it of course would not be supported.

    I have seen some odd behavior myself similar to what you describe, when I have used underscores in the past.

    Here is a publicly available link to the MSDN Naming Guidelines page.
    https://msdn.microsoft.com/en-us/lib...(v=vs.71).aspx

    Please let me know if you have any further questions.
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thanks Josh. Yes, that must be it. It is quite annoying that underscores cannot be used but, nothing we can do about it. Thanks for the link.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 04-24-2026, 11:07 PM
      0 responses
      32 views
      0 likes
      Last Post CaptainJack  
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      127 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      182 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      94 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      138 views
      0 likes
      Last Post cmoran13  
      Working...
      X