Have you changed any of your habits of how you bring up NinjaTrader and start
your strategy?
Are you connecting to your account before or after you add the EmailTrades indicator
to a chart?
First, EmailTrades should be added to a single chart only (just one chart, be careful of
this) and it needs to be added to that chart before you connect to your broker.
Next thing is add some Print statements to inside of OnConnection method
in EmailTrades.cs. You'll want to confirm the OnExecution event handler is being
properly added to the account.
Next step, does that OnExecution event handler ever get called?
Add Print statements to find out.
Leave a comment: