Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Enumerated Type

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

    Enumerated Type

    I use an enumerated Type to define some input parameters. I converted my code from NT7 to NT8 . The code is working but it will not remember the selected Type when the indicator is reloaded even after saved as the default template. Am I missing something in the properties grid ?

    #2
    Hello JerryWar,

    Thank you for your post.

    Our NinjaTrader 8 sample at the following link should provide the adequate example for the properties and enums: http://ninjatrader.com/support/forum...ead.php?t=3420

    Please let me know if you have any questions.

    Comment


      #3
      Yes, definitely. I looked at the code and I thought I saw the issue. because I have the Input defined as a
      "[NinjaScriptProperty]" as well. So I commented the line out. Any time there is a compile it defaults back to the first setting and doesn't remember what was saved on the chart.and I am doing exactly what the sample does.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      91 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      48 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      31 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      34 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      69 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X