Read the Documentation for SendMail . . . it takes two variables.
Does your test email sent from Tools > Options > Email work ?
RaptorUK:
Read the Documentation for SendMail . . . it takes two variables.
Does your test email sent from Tools > Options > Email work ?
Thank you RaptorUK. Learn something new everyday. Yes test email was OK. It was the variables.
Much appreciated.
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I am a relative newbie in programming.
Is it possible to change a line of code that plays a sound alert to one that sends out e-mail alert instead?
if (SoundON == true && Bars>alertBar) {PlaySound("Alert.wav");alertBar = Bars;}
I tried substituting it with
if (EmailON == true && Bars>alertBar) {SendMail("Alert");alertBar=Bars;}
but it doesn't work.
Can some one kindly help me out?
Thank you.