I have this in my strategy: "if (entryOrder.OrderState == OrderState.Working <some code> CancelEntryOrder();" as part of an if statement. It's integral to how a setup is detected / cancelled. The problem I'm facing is that I want to run the strategy analyzer and optimize settings. the OrderState.Working is not something that's called in the analyzer. My question is there another way I can have the strategy detect if I have a waiting order and have it be recognized in the analyzer? I'm pretty sure this is also causing the analyzer to crash.
Cheers,
Seastragg
Comment