Just wondering if anyone smart enough can add a simple alert to send email only once for each signal generated. I have worked on this for 4 days straight and am about to call it quits.
Can't get around the fact that each tick sends me emails, resulting in more than I would like. It shows in the code that I have an alert() set instead of sendmail(), this is just for testing purposes. Can someone help please. Don't know if I am even close with how it should be implimented.
Just want 1 email sent per signal if conditions are met.
Can someone give it a try, anyone?
Source code below.
Can't get around the fact that each tick sends me emails, resulting in more than I would like. It shows in the code that I have an alert() set instead of sendmail(), this is just for testing purposes. Can someone help please. Don't know if I am even close with how it should be implimented.
Just want 1 email sent per signal if conditions are met.
Can someone give it a try, anyone?
Source code below.
Attached File(s)
StrenghtWeakness BB Alerts.mq4
9 KB
|
347 downloads