
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
send email ?
hello everyone
I would like to receive news of my work on my EA running at home, how to program in an Expert Advisor sends an email to my gmail account?
thank you very much
cordially
Adding Email/SMS Alert to Indicator
Can anyone add email/sms alert to the attached indicator?
dollar index indicator needs help
Hello, I'm trusting some of you "brilliant" ones can help add an email alert to this indicator? I've looked at the code and tried to figure it out and this "right" brain wanted to do something less stressfull. Anyway, thanks in advance for the help....The indicator is the dollar index with two smas. If possible, I'd like for the alert to take place when the dollar index crosses the 20sma.
#property indicator_separate_window
#property indicator_buffers 3
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_color2 Yellow
#property indicator_width2 1
#property indicator_style2 1
#property indicator_color3 Lime
#property indicator_width3 1
#property indicator_style3 2
//---- buffers
double ExtMapBuffer1[];
double ExtMapBuffer2[];
double ExtMapBuffer3[];
extern int short_term_SMA_period =20;
extern int long_term_SMA_period =40;
//int winind;
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
SetIndexStyle(0,DRAW_LINE);
SetIndexBuffer(0,ExtMapBuffer1);
SetIndexLabel(0,"DXY");
SetIndexStyle(1,DRAW_LINE);
SetIndexBuffer(1,ExtMapBuffer2);
SetIndexLabel(1,short_term_SMA_period+"SMA");
SetIndexStyle(2,DRAW_LINE);
SetIndexBuffer(2,ExtMapBuffer3);
SetIndexLabel(2,long_term_SMA_period+"SMA");
IndicatorShortName("Dollar Index: DXY / "+short_term_SMA_period+"SMA / "+long_term_SMA_period+"SMA");
// winind = WindowFind("Dollar Index: DXY / "+short_term_SMA_period+"SMA / "+long_term_SMA_period+"SMA");
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int limit;
int counted_bars=IndicatorCounted();
//---- check for possible errors
if(counted_bars<0) return(-1);
//---- the last counted bar will be recounted
if(counted_bars>0) counted_bars--;
limit=Bars-counted_bars;
//---- main loop
for(int i=0; i<limit; i++)
{
ExtMapBuffer1=50.14348112 * MathPow(iClose("EURUSD",0,i),-0.576) * MathPow(iClose("USDJPY",0,i),0.136) * MathPow(iClose("GBPUSD",0,i),-0.119) * MathPow(iClose("USDCAD",0,i),0.091) * MathPow(iClose("USDSEK",0,i),0.042) * MathPow(iClose("USDCHF",0,i),0.036);
}
for(i=0; i<limit; i++)
{
ExtMapBuffer2=0;
ExtMapBuffer3=0;
for(int z=0; z<long_term_SMA_period; z++)
{
if(z<short_term_SMA_period) ExtMapBuffer2=ExtMapBuffer2+ExtMapBuffer1;
ExtMapBuffer3=ExtMapBuffer3+ExtMapBuffer1;
}
ExtMapBuffer2 = ExtMapBuffer2/short_term_SMA_period;
ExtMapBuffer3 = ExtMapBuffer3/long_term_SMA_period;
}
//---- done
return(0);
}
//+------------------------------------------------------------------+
E-Mail alert ?
Could someone help add E-Mail alert to this indicator?
Can You Add an Email Alert to This Indicator?
Greetings,
Can anyone add an email alert function to the attached indicator? I have no idea how to do this, but if you can do it I'd really appreciate it.
Thank you.
Hey Dreamliner!
I am a follower of the MPAS system... Perhaps I can help with the request buy you need to post the *.mq4 file instead of the *.ex4, so it can be modified.
Greetings from Mexico!
Can You Add an Email Alert to This Indicator?
Can anyone add an email alert function to this indicator?
Thank you in advance if you're able to do this for me.
#MTF NonLagZigZag
Hi guys
I've got this great indicator which is basically nonlagzigzag_v2 but with an e-mail alert function built in.
However when I use the modified version with the e-mail alert, it seems to lag my charts really bad so I don't know if there is something in the code that can be optimized?
Anyway, I attach the two versions. It would be great it someone could resolve the lagging issue in the "#MTF NonLagZigZag" or just add an e-mail function to "nonlagzigzag_v2"
The only thing I ask if you do add the email function to "nonlagzigzag_v2" is that it e-mails you only once per zigzag top or bottom. I know it repaints, so just once at first paint, and then no more e-mails until the zigzag is at other top/bottom.
Thank you, really appreciate it.
Additional Info: It only starts lagging my charts when I add it to about 5/6 different windows within MT4.
Can't setup email alert in my MT4 platform.
Hi, I can setup email alerts in my MT4 platform.
Metatrader 4 - Alpari UK build 229.
Email service - gmail.com.
Entered all information correct and have a message failed to send.
Can any one help me with this?
Hi josef,
As I understand - to set email alert - you should have email alert feature coded inside indicator or EA.
By the way - I could not set it for my google or yahoo email. I only did it for my real smtp email address. May be - it is some limitation of email feature for metatrader - no idea sorry.