Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
RealtimeErrorHandling.IgnoreAllErrors;
Collapse
X
-
Hello franatas,
That would prevent the strategy from being stopped if it encounters an error that the strategy created. There are other situations where a strategy would still be disabled such as connection losses or manually closing a position. If you can provide more specific details on the situations where its disabled we could let you know if that would be expected when using that setting.
-
The case is that sometimes it does not place the order and other times it does, and then it deactivates, sometimes the strategy cancels orders at the same time that it has to send others, in this case I put a flag to prevent it from placing operations before receiving the cancellation
As you can see in the image, I even alternate the name of the entry to avoid the conflict of cancellation and placement of the same order, I'm not sure that this works but receiving a different name each time would avoid this conflict
Comment
-
Hello franatas,
It looks like this is the same error from your previous post. In the future please reply to your existing post if the problem is still happening rather than opening a second post.
If you are still getting the same error you would need to continue to debug the strategy and eliminate the code that is causing that error. If you feel this is still related to the cancelation I would suggest to try and remove that part of the logic and see if it continues to get the error or not.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
93 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
138 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
123 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
73 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment