1) The current date sticks so that the next day it doesn't move forward. I have to go to each chart and change the date to the next day. Sometimes it moves for me and sometimes not. I always want it to move forward, is there a way to force this?
2) I can't get an email out in my strategy even though I set it up and tested it in the Tools:Options:Misc menu.
Here is the code:
string end_msg = " based on signal from " + Instrument.FullName + ", at " + Time[0] + ", Interval = " + BarsPeriod.Value + "minutes.";
string msg;
msg = "Buy SPY" + end_msg;
SendMail("[email protected]", "[email protected]", "Alert", msg);
I do not get any errors in the NT log. I get the trade signals in the log, but no email.
Comment