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 kinfxhk, 07-14-2026, 09:39 AM
        0 responses
        125 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 10:18 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 09:50 AM
        0 responses
        85 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-13-2026, 07:21 AM
        0 responses
        105 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Started by kinfxhk, 07-11-2026, 02:11 AM
        0 responses
        84 views
        0 likes
        Last Post kinfxhk
        by kinfxhk
         
        Working...
        X