Hello there, folks! First post here as an Elite member, and I promise, I scanned the forums for over an hour before writing this, so I'd appreciate it if you could keep the flaming to a minimum (and please, not in the face.)
I'd love to hear from some of the more experienced members on the topic of Best Practices for coding NinjaTrader automated trading strategies. I'm not talking about strategy development, or finding this week's Magic Indicator, or how to backtest - I've read through existing tutorials, and those sort of things are well covered. Assume that I've got a day trading strategy that backtests and market replays well, and that I've run it live in Sim mode for a sufficient amount of time. What I'm talking about is:
* What do you need to do to your code to make it "real money ready"?
* Are the EnterLong() and EnterShort() commands good enough for real money trade entry?
* Does every real money strategy need to have an OnExecution() section?
* Are there certain "Murphy's Law" scenarios that should be coded for (like power outages, feed disruptions)?
* And what's the best way to handle these scenarios?
* Is SetStopLoss() good enough? Should I code an Emergency 'Holy Crap' stop loss for unforeseen catastrophic events?
In my personal case, I have a pretty simple strategy: it only takes one position at a time, doesn't scale-in or scale-out of positions, and doesn't use limit orders (although I'm considering using them.)
Thanks for your time, folks. I appreciate anything you can share.