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 Hwop38, 05-04-2026, 07:02 PM
|
0 responses
169 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
327 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
252 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
353 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
181 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
Comment