SendMail correction

 

Hello,

I would add the value of my "smooth coefficient" in the mail I received usually.

Could you please advise how I should process to get it ?

I added the text highlighted in yellow but it doesn't work.

 smooth_coefficient = 2.0 / (1.0 + EMA_period);

 Alert(Symbol(), " DSS UP ON ", Period(), "Minute  AT ", Close[0] );
               alertonce = Time[0];
               SendMail ("Dss Bressert: ",Symbol()+" "+Period()+": Buy Alert @ "+DoubleToStr(Bid,Digits)+ "smooth_coefficient()");
               alertonce = Time[0];
 
SendMail ("Dss Bressert: ",Symbol()+" "+Period()+": Buy Alert @ " +DoubleToStr(Bid,Digits)+ " " +DoubleToStr(smooth_coefficient,Digits));

 (not checked)