i have a binary bool that prevents the code from being executed a second time:
if (longoda == 0) { if (Close[0] > Close[1]) { longoda = 1; EnterLong(1, "LE"); SendMail("[email protected]", "Trade Alert - LE", " LE: "+Instrument.FullName+" "+GetCurrentAsk()+ "\r\n RPNL: "+Math.Round(daypnl, 2)+" UPNL: "+Math.Round(openpnl, 2)+"\r\n Date/Time: "+ToDay(Time[0])+" "+ToTime(Time[0])); } }
did the last NT update have a sendmail change?
Comment