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 geddyisodin, Yesterday, 05:20 AM
      8 responses
      51 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by cmtjoancolmenero, Yesterday, 03:58 PM
      10 responses
      36 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by DayTradingDEMON, Today, 09:28 AM
      4 responses
      24 views
      0 likes
      Last Post DayTradingDEMON  
      Started by George21, Today, 10:07 AM
      1 response
      17 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by Stanfillirenfro, Today, 07:23 AM
      9 responses
      25 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Working...
      X