Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
strategy doesn't enter trade
Collapse
X
-
strategy doesn't enter trade
i have built a strategy with the wizard, with a set of conditions. if the conditions are met, the strategy will print an up or down arrow on the chart AND enter a short or long stop order. the order syntax in the wizard is the following: "EnterLongStop(DefaultQuantity, High[1]+20*TickSize,"buy"". the arrow and order are on the same set. i can see on my chart a lot of arrows, but only a few orders. the strategy is set to GTC. why is it that i have more arrows then orders if they are triggered by the same signal?Tags: None
-
What are the errors in your log about orders ignored because the price is invalid?Originally posted by tubular2000 View Posti have built a strategy with the wizard, with a set of conditions. if the conditions are met, the strategy will print an up or down arrow on the chart AND enter a short or long stop order. the order syntax in the wizard is the following: "EnterLongStop(DefaultQuantity, High[1]+20*TickSize,"buy"". the arrow and order are on the same set. i can see on my chart a lot of arrows, but only a few orders. the strategy is set to GTC. why is it that i have more arrows then orders if they are triggered by the same signal?
-
i have run a backtest with this strategy and on the order tab i can see that all the trades are open, but most of them end up being cancelled. i'm not sure, but it looks like if the stop order is not filled on the next bar, it is cancelled?
Comment
-
is there a way to use the liveuntilcancelled argument in the wizard or do i have to unlock the code?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
71 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
39 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
63 views
2 likes
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
53 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment