help in coding alert

 

hi this is indicator code

i want when he alert and send the email then he also mentation ( ya add ) the current market price on which it was given signal

if(dt!=iTime(NULL,0,0))
{
if(buf1_up[1]==4 && buf1_down[2]==4)
{
if(enable_sound_alert) Alert("MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1) );
if(enable_email_alert) SendMail("MACD VSESION 1 BUY SIGNAL PERIOD " + strtf(timeframe1),"MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1));
}

pleas help me for it

 

f(enable_sound_alert) Alert("MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1) +" "+Bid );

if(enable_email_alert) SendMail("MACD VSESION 1 BUY SIGNAL PERIOD " + strtf(timeframe1),"MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1)+" "+Bid);

Is that what you mean?

 
Viffer:


f(enable_sound_alert) Alert("MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1) +" "+Bid );

if(enable_email_alert) SendMail("MACD VSESION 1 BUY SIGNAL PERIOD " + strtf(timeframe1),"MACD VSESION 1 " + Symbol() + " BUY SIGNAL PERIOD " + strtf(timeframe1)+" "+Bid);

Is that what you mean?



ya i got it

thnks form reply mr. viffer

Reason: