Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Order #'s incorrect
Collapse
X
-
Strategy Order #'s incorrect
NT6 B11 Sim mode, testing a strategy. Strategy buys/sells 10 contracts with profit target of 50 and trailing stop of 5. Strategy triggered as expected, bought 10. Stops were placed correctly, butthe limit order(s) were for only 9 contracts. When stop was hit, only 9 contracts were filled, 1 stop was cancelled leaving me with an open contract with no stop or target anymore.Tags: None
-
imported post
Also: please check out the TraceOrders feature which helps you tracking NinjaScript internal order management. http://www.ninjatrader-support.com/H...helpguide.html
DierkNinjaTrader Customer Service
Comment
-
imported post
EnterLong, ExitShort etc. need to be called on every bar as long as an entry or exit signal is active. If you don't call these methods on a prticular bar, existing orders, which where palced by these signals, will be cancelled as this bar closes.
DierkNinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by wftrrdt, Today, 05:01 AM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by wftrrdt
Today, 05:01 AM
|
||
Started by wellbeingcbd, Today, 04:41 AM
|
0 responses
1 view
0 likes
|
Last Post
![]()
by wellbeingcbd
Today, 04:41 AM
|
||
Started by piydasuknu, Today, 03:45 AM
|
0 responses
3 views
0 likes
|
Last Post
![]()
by piydasuknu
Today, 03:45 AM
|
||
Started by ajdfkgjiojjhfihjg, Today, 03:20 AM
|
0 responses
3 views
0 likes
|
Last Post
![]() |
||
Started by keravitahere, Today, 01:56 AM
|
0 responses
2 views
0 likes
|
Last Post
![]()
by keravitahere
Today, 01:56 AM
|
Comment