• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 10:07am
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 10:07am
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Return of Index Number With Certain Conditions - MQL4 3 replies

Indicator needed to email when conditions are met 0 replies

Create a verticle line at certain hour for every certain hour 16 replies

Programmer wanted for this template (need email, IM or sms alert upon conditions met) 1 reply

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 3
Attachments: MQL4 email alert when certain conditions are met
Exit Attachments
Tags: MQL4 email alert when certain conditions are met
Cancel

MQL4 email alert when certain conditions are met

  • Post #1
  • Quote
  • First Post: Nov 20, 2017 3:49pm Nov 20, 2017 3:49pm
  •  AntiVi
  • Joined Dec 2015 | Status: Member | 277 Posts
Hey guys,

I'm not a programmer and I've tried some things to make this work however I have been unable to do so.
Since my attempts were pretty much useless I'm here asking for some help.

Is there some kind of template I can use to have it send an email to me when certain conditions are met?
For example:
Send email when:
&&(Close[1] > High[2])
&&(Close[1] > Open[1])
&&(Close[2] < Open[2])
OR
&&(Close[1] < Low[2])
&&(Close[1] < Open[1])
&&(Close[2] > Open[2])


Any help would be appreciated.
Thanks!
AntiVi
  • Post #2
  • Quote
  • Nov 20, 2017 5:38pm Nov 20, 2017 5:38pm
  •  Abade
  • Joined Aug 2016 | Status: Member | 347 Posts
Here you go. You must have the e-mail notifications set for your platform and EA's allowed, like this:

Attached Image (click to enlarge)
Click to Enlarge

Name: Screenshot1.png
Size: 126 KB


I use hotmail (G-mail security is annoying), you can send from and to the same e-mail.

If i am not mistaken it is a breakout strategy, you can attach it to any TF (double check it is the TF you want), the E-mail will contain info about the symbol, server-time, timeframe used (in minutes), bid and ask. Double check i got the conditions right where "Close[1] " means the last candle's close? and "Open[2]" is the candle's before that open (two candles behind from the current)?

You should really learn how to make your own tools, it is a valuable skill you don't even need to know any programming for the basic stuff, only logic.
Attached File(s)
File Type: ex4 AntiVi_Notificator.ex4   113 KB | 167 downloads
File Type: mq4 AntiVi_Notificator.mq4   246 KB | 237 downloads
 
1
  • Post #3
  • Quote
  • Nov 23, 2017 5:12pm Nov 23, 2017 5:12pm
  •  AntiVi
  • Joined Dec 2015 | Status: Member | 277 Posts
Quoting Abade
Disliked
Here you go. You must have the e-mail notifications set for your platform and EA's allowed, like this: {image} I use hotmail (G-mail security is annoying), you can send from and to the same e-mail. If i am not mistaken it is a breakout strategy, you can attach it to any TF (double check it is the TF you want), the E-mail will contain info about the symbol, server-time, timeframe used (in minutes), bid and ask. Double check i got the conditions right where "Close[1] " means the last candle's close? and "Open[2]" is the candle's before that open (two...
Ignored
I honestly can't make out anything from that code since it's a bit too advanced for me.
Also the hotmail test doesn't seem to send emails. It doesn't work.

To get the test to work I tried using hmailserver to relay the email but that didn't work so I ended up with a GMX email address and that does work.
 
 
  • Post #4
  • Quote
  • Nov 26, 2017 5:10pm Nov 26, 2017 5:10pm
  •  kaiser soze
  • Joined Jan 2014 | Status: Member | 449 Posts
Quoting AntiVi
Disliked
{quote} I honestly can't make out anything from that code since it's a bit too advanced for me. Also the hotmail test doesn't seem to send emails. It doesn't work. To get the test to work I tried using hmailserver to relay the email but that didn't work so I ended up with a GMX email address and that does work.
Ignored
i've never been able to setup the email option ...........will give this a try, thanks
 
 
  • Post #5
  • Quote
  • Last Post: Nov 26, 2017 6:09pm Nov 26, 2017 6:09pm
  •  AntiVi
  • Joined Dec 2015 | Status: Member | 277 Posts
Quoting kaiser soze
Disliked
{quote} i've never been able to setup the email option ...........will give this a try, thanks
Ignored
This thread might help as well:
https://www.forexfactory.com/showthread.php?t=717598

Enjoy
 
 
  • Platform Tech
  • /
  • MQL4 email alert when certain conditions are met
  • Reply to Thread
0 traders viewing now
Top of Page
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2023