I have had some great support from you guys trying to get the email function working upon order execution for live simulated trading using the Ninjascript. To ensure e-mails are not sent continuously upon order execution I am using the 'MarketPosition.Flat/Long' function filter. However, one issue I am noting is that when specific entry/exit conditions are met, 4-5 e-mails are sent prior to the order being filled/flattened. How is it possible to restrict the number of e-mails sent to just one per entry exit ??
thx
David
Comment