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 Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
605 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
351 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
105 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
560 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
561 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment