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 tkaboris, Today, 05:13 PM
|
0 responses
2 views
0 likes
|
Last Post
by tkaboris
Today, 05:13 PM
|
||
Started by GussJ, 03-04-2020, 03:11 PM
|
16 responses
3,281 views
0 likes
|
Last Post
by Leafcutter
Today, 04:14 PM
|
||
Started by WHICKED, Today, 12:45 PM
|
2 responses
19 views
0 likes
|
Last Post
by WHICKED
Today, 03:36 PM
|
||
Started by Tim-c, Today, 02:10 PM
|
1 response
10 views
0 likes
|
Last Post Today, 02:52 PM | ||
Started by Taddypole, Today, 02:47 PM
|
0 responses
5 views
0 likes
|
Last Post
by Taddypole
Today, 02:47 PM
|
Comment