Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get Position Time and Strategy

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

    #16
    Hi Chelsea,

    Thank you but it's not what I really want since I foresee to keep the strategy disabled with active orders for most of the time.
    Maybe there is a state where the orders can be canceled before the strategy gets started? Or can I check the order in the account one by one and check that they are canceled by putting a wait time till cancelation?

    Comment


      #17
      Hello Peppo,

      There wouldn't a be state for that, that I know of. State.SetDefaults would get called every time you open the indicator or strategies window.

      You could make a separate addon that has a button that cancels orders if you want.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #18
        Hi Chelsea,

        Do you have any example I can re-use?

        Thanks.

        Comment


          #19
          Hello Peppo,

          Below is a link to an example that adds buttons and triggers actions with buttons.
          I need some guidance. I need to create a script that has 3 plots that are public and they plot either a 1 or 0. But I need to create another indicator that has 3 chart buttons that sets these variables. The first indicator needs to get those values from the second indicator depending on the button clicks. Because of using
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by Mindset, 04-21-2026, 06:46 AM
          0 responses
          93 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          138 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          68 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          123 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          73 views
          0 likes
          Last Post PaulMohn  
          Working...
          X