Not really sure if my title is correct or not. Until now, I've only employed Enter, Exit ans Set statements to effect orders in my strategies. I've glanced at a couple of the sample code files that use object variables (eg. myOrder = EnterLong() or some such thing).
It looks like there is so much more power with this approach, but try as I might by perusing the sample code, I'm not really getting how this works and can't find any specific instructions or very simple stripped down examples so I can understand exactly what's going on.
I do have some cursory knowledge of objects in c#, but I'm always used to seeing a "new" key work when creating objects. That doesn't appear to be the case in ninja. Perhaps this has something to do with the fact that the orders are worked with through an interface. Just a guess on my part.
I guess I'm looking for some suggestions on where to begin understanding and using order objects instead of just using the order statements (Enter, Exit, Set).
Comment