Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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 aussugardefender, Today, 01:07 AM
      0 responses
      3 views
      0 likes
      Last Post aussugardefender  
      Started by pvincent, 06-23-2022, 12:53 PM
      14 responses
      238 views
      0 likes
      Last Post Nyman
      by Nyman
       
      Started by TraderG23, 12-08-2023, 07:56 AM
      9 responses
      384 views
      1 like
      Last Post Gavini
      by Gavini
       
      Started by oviejo, Today, 12:28 AM
      0 responses
      4 views
      0 likes
      Last Post oviejo
      by oviejo
       
      Started by pechtri, 06-22-2023, 02:31 AM
      10 responses
      125 views
      0 likes
      Last Post Leeroy_Jenkins  
      Working...
      X