It is currently Wed Feb 08, 2012 2:59 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Metatrader Help for mail!
PostPosted: Tue Jan 12, 2010 7:09 am 
Offline

Joined: Wed Sep 23, 2009 12:07 pm
Posts: 12
Hi all,

I would like to know you can help me with metatrader email parameters.I have found nothing on the internet.I tryed everything.I have created (smtp) email adresses......

The second question is : how to create a mail alert on indicator.(Script)

What I would like is a trendline breakout indicator wich send me an email when a breakout happend.


Thanks a lot

bye

HENRI


Top
 Profile E-mail  
 
 Post subject: Re: Metatrader Help for mail!
PostPosted: Tue Jan 12, 2010 8:54 am 
Offline
User avatar

Joined: Tue Jul 14, 2009 2:54 pm
Posts: 242
Location: Glasgow, Scotland
Hi Henri

You need to enter the email account parameters in your MetaTrader platform. Select Tools then Options then Email and enter the required settings. These are usually the same settings that your email program uses. If you only use webmail you'll have to check your service provider to see if you can get the info required.

The line of code to send an email is
SendMail( string subject, string email body)

Have a look at this thread. http://www.forexoma.com/forums/support-resistance-crossing-indicator-263.html
I have created an indicator to raise alerts - including emails - when a trend line is breached or tested. It has been modified quite a bit since I posted the original and the version I am working on now will alert for any trend line instead of only those with specific names.
The email alert contains the name of the trendline, any text in the comments field and the text in a label which I have added to the chart. I'll try to tidy it up a bit and post the update tonight or tomorrow, along with a better explaination.

If you have any ideas of how it should work I'd be happy to see if they can be incorporated.

All the best

Michael

_________________
“Keep It Simple..... Then execute the simplicity faithfully.”
Vincent


Top
 Profile E-mail  
 
 Post subject: Re: Metatrader Help for mail!
PostPosted: Tue Jan 12, 2010 1:26 pm 
Offline

Joined: Wed Sep 23, 2009 12:07 pm
Posts: 12
Hi,

Thanks a lot for you answer!It is ok with mail settings!
Now,I have tried your indicator but it does not work for me because I don't understand how to put it on chart.

1)I put the indicator on chart (SR)
2)I draw a trendline :a support and I rename this trendline BTL1.

Tell me if I did something wrong

Thanks


HENRI

PS: I am looking for a macd divergence GOOD indicator alert maybe you know one?


Top
 Profile E-mail  
 
 Post subject: Re: Metatrader Help for mail!
PostPosted: Tue Jan 12, 2010 1:32 pm 
Offline

Joined: Wed Sep 23, 2009 12:07 pm
Posts: 12
Sorry,your indicator works I didn't put mail alert in the settings.GREAT INDICATOR!
;)


Top
 Profile E-mail  
 
 Post subject: Re: Metatrader Help for mail!
PostPosted: Tue Jan 12, 2010 6:24 pm 
Offline
User avatar

Joined: Tue Jul 14, 2009 2:54 pm
Posts: 242
Location: Glasgow, Scotland
Thanks

It'll be a few days till I get the updates done, I'll post it in the thread when its ready.

Michael

_________________
“Keep It Simple..... Then execute the simplicity faithfully.”
Vincent


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Home Page | About | Contact | Learn More | Products and Services
 
Copyright © 2011 Forexoma.com
All rights reserved.