When executed live, it'll hang NT (hourglass) for about 20 seconds.
Other info ..
- You hear the order pending msg - entry order sent to IB
- freeze
- then the alert shows, along with it's sound
- then the stop is placed
FWIW, the email is never recieved (addr in the example is dummied out)
Also .. which SMTP servers is this using, as I never saw anyplace to configure mine in NT
PBLow = Low[1] - 2*TickSize; Print("PBLow");Print(PBLow); DrawArrowUp("My up arrow" + CurrentBar, 0, Low[0] + -2 * TickSize, Color.Yellow); EnterLong(DefaultQuantity, "S2L"); Alert("S2Long", NinjaTrader.Cbi.Priority.High, "Reached Breakout", "C:\Data\SOUNDS\cowbell.wav", 10, Color.Lime, Color.Black); SendMail("[email protected]", "[email protected]", "Trade Alert", "Buy ");
Comment