Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
ExitShortLimit
Collapse
X
-
ExitShortLimit
Hi, can you provide an example of how to use ExitLongLimit / ExitShortLimit. The way I'm using it now is being ignored because of the 'internal order handling rules'. My intent is to exit a position at a specified price to avoid slippage, but I'm apparently not doing it correctly. thank youTags: None
-
Hello pman777,
Thanks for your post.
If you are generating the error message about internal order handling rules then the applicable rules from the help guide are:
"Methods that generate orders to exit a position will be ignored if:
• A position is open and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction
• A position is open and an order submitted by a set method (SetStopLoss() for example) is active".
-
Hello pman777,
Thanks for your reply.
The help guide itself demonstrates the usage: https://ninjatrader.com/support/help...tlonglimit.htm
I found another use in this example strategy: SampleCancelOrder, here: https://ninjatrader.com/support/help...thod_to_ca.htm
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
89 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
135 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
119 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
69 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment