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 CarlTrading, Yesterday, 09:41 PM
    1 response
    20 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, Today, 02:41 AM
    0 responses
    7 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, Yesterday, 11:44 PM
    0 responses
    18 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    35 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    33 views
    0 likes
    Last Post CarlTrading  
    Working...
    X