Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exit on session close seconds

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

    Exit on session close seconds

    Good morning, I would like to know if in a system when you mark "Exit on session close seconds: 1000" it means that it closes 1000 seconds before closing the session (exact time) or that it closes when the candle closes after 1000 seconds before closing the session. Thank you.

    #2
    Hello corman,

    The Exit on close in real-time occurs intra-bar the number of Exit on close seconds before the end of the session.

    In historical the Exit on close occurs at bar close.

    Below is a link to a forum post that discusses.
    NinjaTrader Community, A common inquiry is that the Exit on close didn't work in a NinjaScript Strategy because there is a position after the exit on close should have occurred. When viewing the log we often find that the Exit on close does indeed exit the position shortly before the end of the session (based on the Exit on
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, Today, 06:46 AM
    0 responses
    8 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, Yesterday, 05:21 PM
    0 responses
    14 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    15 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    82 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    47 views
    0 likes
    Last Post PaulMohn  
    Working...
    X