if (1==1) // strategy signal logic goes here
{
if (!Historical)
{
string subj = Instrument.MasterInstrument.Name + " " + Time[0].ToShortDateString() + " " + Time[0].ToShortTimeString();
string message = "Close " + Close[0].ToString();
SendMailChart(ChartControl, subj, message, "[email protected]", "[email protected]", "smtp.gmail.com", 587, "[email protected]", "obviouslyfake");
}
}
This is in the onBarUpdate() portion. I'm fairly new at this so I apologize if it's an obvious error.
Comment