Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
NT closing positions rules
Collapse
X
-
Originally posted by entropy View Post
-
Hi entropy,
Yes, enter statements will reverse a position, and will indicate separately close position and the name of the enter rule as two separate items. They'll take care of the closing and opening order in the opposite direction.
If you don't want this behavior, you can add a market position check to your entries, to check that you are flat before submitting the order.
if (Position.MarketPosition == MarketPosition.Flat)
Leave a comment:
-
NT closing positions rules
Dear NT Support:
If I place a long (short) order while a short (long) order is open does NT also send a close position order to complete the flip? Can I disable this? I am already handling the exit but NT is doubling on me, not sure what's generating the double. The order description is just "Close position" which is nowhere in my code.
Thanks!Tags: None
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by SantoshXX, Today, 03:09 AM
|
0 responses
11 views
0 likes
|
Last Post
by SantoshXX
Today, 03:09 AM
|
||
Started by DanielTynera, Today, 01:14 AM
|
0 responses
2 views
0 likes
|
Last Post
by DanielTynera
Today, 01:14 AM
|
||
Started by yertle, 04-18-2024, 08:38 AM
|
9 responses
41 views
0 likes
|
Last Post
by yertle
Today, 01:00 AM
|
||
Started by techgetgame, Yesterday, 11:42 PM
|
0 responses
12 views
0 likes
|
Last Post
by techgetgame
Yesterday, 11:42 PM
|
||
Started by sephichapdson, Yesterday, 11:36 PM
|
0 responses
2 views
0 likes
|
Last Post Yesterday, 11:36 PM |
Leave a comment: