to cvode an alert on Empty4

Post Reply
daveM
Trader
Posts: 34
Joined: Sun Jun 10, 2012 3:52 pm
Location: Toronto

to cvode an alert on Empty4

Post by daveM »

Would someone have a look at this line of code and show me how to insert something so that the name of the currency pair will appear in the alert box

Alert("SELL signal at Ask=",Ask,"\n Bid=",Bid,"\n Date=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(


Thanks for your help


daveM
garyfritz

Re: to cvode an alert on Empty4

Post by garyfritz »

Add a call to Symbol() in there. http://docs.mql4.com/windows/Symbol
daveM
Trader
Posts: 34
Joined: Sun Jun 10, 2012 3:52 pm
Location: Toronto

Re: to cvode an alert on Empty4

Post by daveM »

Thanks Gary

As you can easily tell...... my skills are a bit less than the advanced masters caliber.

BUT, I did get the line corrected and. it actually worked.... lol

Thanks again.

daveM
Post Reply

Return to “Indicators”