Results 1 to 8 of 8
 3 Attachment(s)    

Thread: Add an email alert to an indicator

  1. #1
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default Add an email alert to an indicator

    Where the signal is supposed to appear, you have simply to add this line code at the next line :

    For buy alert :

    Code:
    SendMail ("Name of the indicator: ",Symbol()+" "+Period()+": Buy Alert @ "+DoubleToStr(Bid,Digits));
    For sell alert :

    Code:
    SendMail ("Name of the indicator: ",Symbol()+" "+Period()+": Sell Alert @ "+DoubleToStr(Bid,Digits));
    SENDMAIL will send out email alerts, as long as you have your platform setup to access your email account and use it to send alerts.

  2. #2
    Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default

    Hello Funyoo, thanks for that codes. They are working pritty good. They sent me hundrets of mails.
    Question, is there a trick that only one emails is sent?

  3. #3
    Administrator funyoo's Avatar
    Join Date
    Sep 2008
    Posts
    7,003

    Default

    Quote Originally Posted by trade-ws View Post
    Hello Funyoo, thanks for that codes. They are working pritty good. They sent me hundrets of mails.
    Question, is there a trick that only one emails is sent?
    Hi trade-ws,

    See here to limit the number of emails : http://www.tradingsystemforex.com/3287-post2.html

  4. #4
    Junior Member
    Join Date
    Jan 2009
    Posts
    4

    Default

    Dear funyoo, thanks for the quick reply. trade-ws

  5. #5
    Junior Member
    Join Date
    May 2010
    Posts
    1

    Default

    Quote Originally Posted by funyoo View Post
    Where the signal is supposed to appear, you have simply to add this line code at the next line :

    For buy alert :

    Code:
    SendMail ("Name of the indicator: ",Symbol()+" "+Period()+": Buy Alert @ "+DoubleToStr(Bid,Digits));
    For sell alert :

    Code:
    SendMail ("Name of the indicator: ",Symbol()+" "+Period()+": Sell Alert @ "+DoubleToStr(Bid,Digits));
    SENDMAIL will send out email alerts, as long as you have your platform setup to access your email account and use it to send alerts.
    thanks funyoo for the great work! but please how do i set up my platform to access my email account so that I can receive mails from SENMAIL alerts.

  6. #6
    Junior Member
    Join Date
    Jan 2009
    Location
    germany
    Posts
    10

    Default

    can you help me

    attached indicator send an popup and changing "alert" to "sendmail" wont work compiling

    do you know the solution ?
    Attached Files Attached Files

  7. #7
    Junior Member
    Join Date
    Jul 2014
    Posts
    5

    Default

    Hi FUNYOO, thanks for the great work, can you please tell me how to set up my platform so that I will be receiving email alerts from indicators ,thanks.

  8. #8
    Junior Member
    Join Date
    May 2015
    Posts
    5

    Default add email alert and mesage pop up too

    i figure it out about how to make own add alert email and message.. i am fail.. i need your help... i give you 2 files
    pls help me
    thank
    Attached Files Attached Files

Similar Threads

  1. Add a pop-up alert to an indicator
    By funyoo in forum MQL programming
    Replies: 9
    Last Post: 07-21-2017, 14:43
  2. Demark Lines Indicator + Email Alert
    By bnbb2004 in forum Indicators
    Replies: 1
    Last Post: 07-17-2014, 13:08
  3. Add Email Alert to Trix4Kids Indicator
    By sitestuff in forum MQL programming
    Replies: 1
    Last Post: 10-08-2012, 13:17
  4. Open Order Email Alert
    By Indy123 in forum Scripts and other tools
    Replies: 1
    Last Post: 06-24-2010, 11:14
  5. Adding sound and email alert to Zig and Zag indicator
    By dsrtradefx in forum MQL programming
    Replies: 1
    Last Post: 05-22-2010, 17:05

Tags for this Thread

add, how to, indicator, indicators, signal

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •