when I try to run my strategy which passes the compiling however, got problem when I just to run it real. I figure out the problem come from some values, OrderAction.Buy etc., like in the code:
"if (IO.OrderAction == OrderAction.Buy && (IO.OrderState == OrderState.Working || IO.OrderState==OrderState.Accepted))
break;"
I got these error message:"Object reference not set to an instance of object"
Any ideas about this issue?

Comment