protected override void OnExecution(IExecution execution)
{
if ( sLMailAlerts == true && execution.Name == "Stop Loss")
{
SendMail( emailFrom , emailTo, Instrument.FullName + " | " + BarsPeriod.Id.ToString() +" : " + BarsPeriod.Value.ToString( ) + "Stop Loss Triggered", "Stop Loss");
Print("Stop Loss Triggered");
}
but i dont get the option to set it tue or false in the parameters window and im not getting an error from the Logs.. help please
Comment