Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: DrawingTool never in state Configure

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

    Bug: DrawingTool never in state Configure

    The documentation says that the State of an object becomes State.Configure when a user clicks on the OK or Apply button.
    This is not true.
    When altering the settingsof an DrawingTool and clicking on OK, itdoes not switch to State.Configure.
    This is very inconvenient, confusing and should be fixed or clarified in the documentation.

    Link: https://ninjatrader.com/support/help...html?state.htm

    #2
    Hello Bobin,

    Not all scripts have all states.

    See the help guide on OnStateChange().


    From the help guide:
    "Active States vs Data Processing States
    DrawingTools Active state
    Indicators Data Processing states
    "
    As DrawingTools do not have internal DataSeries, these type of scripts do not enter the State.Configure state. These go to State.Active which is for scripts without DataSeries.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,
      Okay thank you.

      I think this quote in the documentation you linked is very confusing:
      "After State.Configure, each type of NinjaScript type has its own state management system which can be classified under two categories:"
      This implies that each type has a Configure.
      I would appreciate if the documentation would be more clear about States.

      Edit: For example the documentation under "State.Configure" doesn't mention that it's *only* for types with a DataSeries.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      627 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      359 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      562 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      567 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X