Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Exit on session close seconds
Collapse
X
-
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.Tags: None
-
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 onChelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
87 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
57 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
118 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
195 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
176 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
Comment