Thanks in advance to whoever can clarify/help me!
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Ninjatrader is closing out trades on its own
Collapse
X
-
Ninjatrader is closing out trades on its own
I just started trying to learn the Ninjatrader code and setting up a strategy using the wizard, i have been just trying out different things to see what they would all do...my question is, is there some sort of default "safe" code built in that automatically closes out a trade after a certain amount of "loss"? (I'm only using historical data) B/c in my strategy i have only one condition on which it can exit a short (which is all i've been looking at) and I am using no stop loss, to help me c where this condition is met i have the bar painted yellow...well if the program has only one exit short command and it's at a yellow bar then why do i have several "Exit on close" positions on my graph that are not at yellow bars? I uploaded a screenshot to hopefully clarify any confusion on what i said.
Thanks in advance to whoever can clarify/help me!Tags: None
-
Hello tlittle187,
Thanks for your post and welcome to the forums!
By default a strategy will be set to "Exit On Close", this refers to closing all strategy trades/positions at the end of a session as defined by the session template used in the instrument.
The Exit On Close setting can be found in the strategy panel when you apply the strategy to a chart. It is in the "Order Handling" section of parameters. When "Exit On Close" is set to true then the "Exit on close seconds" is used to have the strategy exit x seconds before the end of the session.
For further clarity, please see the helpguide: http://ninjatrader.com/support/helpG...xitonclose.htm
http://ninjatrader.com/support/helpG...oseseconds.htm
This link will show you all of the strategy parameters: http://ninjatrader.com/support/helpG...t_strategy.htmPaul H.NinjaTrader Customer Service
-
Awesome, thx so much for the help...i figured it was something simple like that but google turned up nothing and i didn't know exactly what i was looking for...thx again!
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by stafe, 04-15-2024, 08:34 PM
|
11 responses
57 views
0 likes
|
Last Post
by stafe
Today, 12:43 PM
|
||
Started by pechtri, 06-22-2023, 02:31 AM
|
5 responses
115 views
0 likes
|
Last Post Today, 12:26 PM | ||
Started by Tim-c, Today, 03:54 AM
|
3 responses
13 views
0 likes
|
Last Post Today, 12:18 PM | ||
Started by FAQtrader, Today, 12:00 PM
|
1 response
8 views
0 likes
|
Last Post Today, 12:10 PM | ||
Started by gnocchi, Today, 11:56 AM
|
1 response
3 views
0 likes
|
Last Post Today, 12:06 PM |
Comment