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 pibrew, 04-28-2024, 06:37 AM
|
2 responses
17 views
0 likes
|
Last Post
by pibrew
Today, 06:06 PM
|
||
Started by Philippe56140, 04-27-2024, 02:35 PM
|
7 responses
56 views
0 likes
|
Last Post
by kevinenergy
Today, 06:03 PM
|
||
Started by arunkumar3, 08-25-2023, 12:40 PM
|
3 responses
169 views
0 likes
|
Last Post
by Trader2024!
Today, 05:59 PM
|
||
Started by DJ888, 04-26-2024, 10:57 PM
|
2 responses
17 views
0 likes
|
Last Post
by DJ888
Today, 05:44 PM
|
||
Started by port119, 04-27-2024, 02:43 PM
|
3 responses
31 views
0 likes
|
Last Post Today, 05:27 PM |
Comment