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 NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
65 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
139 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
75 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
50 views
0 likes
|
Last Post
|

Comment