Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
Partner 728x90
Collapse
NinjaTrader
Strategy Analyzer seems to ignore "Exit on Session Close"
Collapse
X
-
Strategy Analyzer seems to ignore "Exit on Session Close"
Strategy Analyzer has a checkbox to enable/disable "Exit on Session Close" which it seems to ignore for the strategy I am backtesting. Checked or unchecked, the backtest runs to end of session and closes all open positions, regardless. I'm obviously overlooking something ...Tags: None
-
Hello jvanelli,
Thank you for your post.
Is this a strategy you've created yourself, or is it one you've received from a programmer or third party vendor?
If you're running the Strategy Analyzer on a time frame that covers more than one session, the Strategy Analyzer should run to the end of the time frame specified whether or not the Exit on Session Closed is checked; however, you should see multiple notations that say "Exit on Session Close" on your chart if it is checked.
Please try to test with SampleMACrossover. After you run the Strategy Analyzer, look at its Trades Display, sorting by Exit name. With Exit On Session Close checked, you should see multiple exits. With it unchecked, you should see one Exit On Session Close where the strategy closes the position at the end of the backtest.
If you confirm this with the SampleMACrossover, please try again with your strategy. Do you see similar results? If so, this would be the expected behavior.
Please let us know if we may be of further assistance to you.Kate W.NinjaTrader Customer Service
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by Aviram Y, Today, 05:29 AM
|
0 responses
2 views
0 likes
|
Last Post
by Aviram Y
Today, 05:29 AM
|
||
Started by quantismo, 04-17-2024, 05:13 PM
|
3 responses
25 views
0 likes
|
Last Post Today, 05:23 AM | ||
Started by ScottWalsh, 04-16-2024, 04:29 PM
|
7 responses
34 views
0 likes
|
Last Post Today, 05:15 AM | ||
Started by cls71, Today, 04:45 AM
|
0 responses
6 views
0 likes
|
Last Post
by cls71
Today, 04:45 AM
|
||
Started by mjairg, 07-20-2023, 11:57 PM
|
3 responses
217 views
1 like
|
Last Post
by PaulMohn
Today, 04:22 AM
|
Comment