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 techgetgame, Yesterday, 11:42 PM
      0 responses
      8 views
      0 likes
      Last Post techgetgame  
      Started by sephichapdson, Yesterday, 11:36 PM
      0 responses
      2 views
      0 likes
      Last Post sephichapdson  
      Started by bortz, 11-06-2023, 08:04 AM
      47 responses
      1,615 views
      0 likes
      Last Post aligator  
      Started by jaybedreamin, Yesterday, 05:56 PM
      0 responses
      10 views
      0 likes
      Last Post jaybedreamin  
      Started by DJ888, 04-16-2024, 06:09 PM
      6 responses
      20 views
      0 likes
      Last Post DJ888
      by DJ888
       
      Working...
      X