Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

fixing time for the exit on close???

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

    fixing time for the exit on close???

    in ninja trader the exit on close execute @ 01:00 time period by default.. is there any option for modifying time according to user requirements..

    #2
    Deall, that would entirely depend on the session template you've chosen to use - you can adjust to any custom times for example by definining your own under Tools > Session Manager.

    Or you custom code a time exit to run at your desired bar time, that would be an option as well - the bar time can be accessed via Time[0] - http://www.ninjatrader.com/support/h...hlightsub=Time

    Comment


      #3
      FLATTENEVERYTHING COMMAND
      wat is the syntax for this FLATTENEVERYTHING COMMAND
      and where to initialize

      Comment


        #4
        There's unfortunately no directly supported NinjaScript method for this command, however you can look into

        Code:
        NinjaTrader.Gui.SuperDom.SuperDom.FlattenEverything()
        It would :

        - Cycle through each open connection
        - Cycle through each account within the connection
        - Terminate any running strategies on the account
        - Cancel any active orders on the account
        - Close any open position on the account

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        648 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        369 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        108 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        572 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        573 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X