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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    103 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    52 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    34 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    37 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    74 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X