Right now my code only says if there is an open long and condition is met, then close X.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
sync account position
Collapse
X
-
-
werido, yes you can tie for example an exit order to a specific entry signal via the signal names provided in the method overloads - http://www.ninjatrader.com/support/h...tlonglimit.htmBertrandNinjaTrader Customer Service
-
Originally posted by NinjaTrader_Bertrand View Postwerido, yes you can tie for example an exit order to a specific entry signal via the signal names provided in the method overloads - http://www.ninjatrader.com/support/h...tlonglimit.htm
Comment
-
Originally posted by NinjaTrader_Bertrand View PostThat was just an example, any order type would offer 'listening' to signal name, such as ExitLong / ExitShort Market orders as well.
http://www.ninjatrader.com/support/h...htsub=ExitLong
Comment
-
werido, the SendMail() calls you do would be realtime only, so historical orders / executions would not be 'hit' then. Do you send yourself an email on each incoming execution then? That could be multiple ones for a given order. You could move that to an update in the Position state for example to send only a single confirmation.
If you wanted to check for a specific order and it's properties / state, then the IOrder objects would be needed to reveal this level of detail - http://www.ninjatrader.com/support/h...ightsub=IOrderBertrandNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by funk10101, Today, 09:43 PM
|
0 responses
6 views
0 likes
|
Last Post
by funk10101
Today, 09:43 PM
|
||
Started by pkefal, 04-11-2024, 07:39 AM
|
11 responses
37 views
0 likes
|
Last Post
by jeronymite
Today, 09:37 PM
|
||
Started by bill2023, Yesterday, 08:51 AM
|
8 responses
44 views
0 likes
|
Last Post
by bill2023
Today, 09:27 PM
|
||
Started by yertle, Today, 08:38 AM
|
6 responses
26 views
0 likes
|
Last Post
by ryjoga
Today, 09:17 PM
|
||
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
Comment