+ Reply to Thread
Results 1 to 7 of 7
 5 Attachment(s)    

Thread: Add a pop-up alert to an indicator

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

    Default Add a pop-up 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:
    Alert ("Name of the indicator: ",Symbol()+" "+Period()+": Buy Alert @ "+DoubleToStr(Ask,Digits));
    For sell alert :

    Code:
    Alert ("Name of the indicator: ",Symbol()+" "+Period()+": Sell Alert @ "+DoubleToStr(Bid,Digits));
    The function ALERT is used to generate a pop up box.

  2. #2
    Member
    Join Date
    Dec 2008
    Posts
    43

    Default help me

    Hi Mr Funyoo
    I want ask you to add a pup-up alert to TREND_alexcud.mq4 indicator when this indicator gives sell signal and buy signal
    Last edited by mike1982; 12-18-2008 at 04:13.

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

    Default

    Quote Originally Posted by mike1982 View Post
    Hi Mr Funyoo
    I want ask you to add a pup-up alert to TREND_alexcud_v_2MEn.mq4 indicator when this indicator gives sell signal and buy signal like the below picture.
    Hi Mr mike1982,

    Here it is. That should work.
    Attached Files

  4. #4
    Junior Member
    Join Date
    Feb 2009
    Posts
    1

    Default

    Hi funyo,

    Could you please add an alert in this indicator.

    Thanks
    Attached Files

  5. #5
    Junior Member
    Join Date
    May 2009
    Posts
    3

    Default can you add an alert to this one?

    not one it prints buy or sell.. but when the line is drawn.

    Quote Originally Posted by colton1237 View Post
    I Am Currently Using It To Trade Manually.
    I Have Been Missing The Entry And Exit, And I Think An Alert System Will Greatly Help.
    I Hope To Post The Result Next Week.
    May Be In Furture It Can Be Coded Into An Ea.

    --------------------------------------------------
    Gift Ideas
    Gifts
    Attached Files

  6. #6
    Junior Member
    Join Date
    Apr 2011
    Posts
    1

    Cool a little help

    hello, could you please assist me in adding an alert to this indicator, when ever there is a change in color a pop up window alert me saying (blue color)buy, (red color)sell and if it could display which currency pair would be great, thank you in advance.
    regards
    doorgah
    Attached Files

  7. #7
    Junior Member
    Join Date
    Dec 2009
    Posts
    1

    Default

    Thank you for the information about how to add an alert. That is very useful to someone who is trying to test ideas and be alerted when the idea comes true. I wonder if you could help me add a external variable to this code that would allow me to position the alerts a little further above and below the price. I tried to modfiy this from another indicator, but I cannot figure out the code to reposition the alerts. I want to move them higher/lower so that the alert wingding does not touvh the price chart.
    Attached Files

+ Reply to Thread

Similar Threads

  1. Add an email alert to an indicator
    By funyoo in forum MQL programming
    Replies: 5
    Last Post: 04-22-2011, 16:55
  2. Add a sound alert to an indicator
    By funyoo in forum MQL programming
    Replies: 4
    Last Post: 08-29-2009, 07:05
  3. Rsi-ema Alert
    By TREND RIDER in forum Indicators
    Replies: 10
    Last Post: 03-01-2009, 21:44
  4. Add Alert to AlaskanPipAssassinMod
    By TREND RIDER in forum Indicators
    Replies: 6
    Last Post: 02-05-2009, 12:25
  5. Demark Lines Indicator + Email Alert
    By bnbb2004 in forum Indicators
    Replies: 0
    Last Post: 12-03-2008, 12:40

Posting Permissions

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