Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.
From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.
Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
Elite Section
Get access to private discussions, specialized support, indicators and trading systems reported every week.
Advanced Elite Section
For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
Can someone check if this EA is done correctly please !!
Hi all,
Can someone please quickly test this EA and let me know if this was done correctly and works on your MT4?
I cannot seem to get it to send me the ALERT EMAILS that it is programed to do.
All it is to do is send me an EMAIL when the Moving Averages cross (3&7 periods), and when the RSI crosses the 50% line with a period of 8.
Can someone please quickly test this EA and let me know if this was done correctly and works on your MT4?
I cannot seem to get it to send me the ALERT EMAILS that it is programed to do.
All it is to do is send me an EMAIL when the Moving Averages cross (3&7 periods), and when the RSI crosses the 50% line with a period of 8.
See attachment
Thanks
BB
Are you using it on interbank servers?
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein
I only want the EA to email me when these peramiters cross.
RSI (8) crosses 50% Line
Moving Average Simple Crossover
5 Period
3 Period
Using a 4 hour bar chart
thanks
It looks like the start function was ended prematurely, and the server address validation string needed to be changed from InterbankFX-Demo to InterbankFX-Demo Accounts. Try this:
PHP Code:
//+------------------------------------------------------------------+
//| Email_Alert2_RSIMA.mq4 |
//| Eric Hamilton |
//| http://www.interbankfx.com |
//+------------------------------------------------------------------+
#property copyright "Eric Hamilton"
#property link "http://www.interbankfx.com"
#include <stdlib.mqh>
#define MAGIC 3333
//+---------------------------------------------------+
//|Indicators RSI, MA Crossover
//|
//|
//+---------------------------------------------------+
extern int RSIPeriod=8;
extern int RSIPrice=PRICE_CLOSE;
extern int MAFastPeriod=3;
extern int MAFastShift=0;
extern int MAFastMethod=MODE_SMA;
extern int MAFastPrice=PRICE_CLOSE;
extern int MASlowPeriod=5;
extern int MASlowShift=0;
extern int MASlowMethod=MODE_SMA;
extern int MASlowPrice=PRICE_CLOSE;
bool runnable=true;
bool initialize=true;
datetime timeprev=0;
int init()
{
return(0);
}
int deinit()
{
return(0);
}
int start(){
//Runnable
if(runnable!=true)
return(-1);
//Long
if(fast01>slow01&&fast02<slow02){
SendMail("MA Cross Long","MAs crossed to go LONG "+TimeToStr(Time[0],TIME_DATE)+" "+TimeToStr(Time[0],TIME_MINUTES));
}
if(rsi01>50&&rsi02<50){
SendMail("RSI Cross Long","RSI crossed 50% to go LONG "+TimeToStr(Time[0],TIME_DATE)+" "+TimeToStr(Time[0],TIME_MINUTES));
}//Shrt
if(fast01<slow01&&fast02>slow02){
SendMail("MA Cross Shrt","MAs crossed to go SHORT "+TimeToStr(Time[0],TIME_DATE)+" "+TimeToStr(Time[0],TIME_MINUTES));
}
if(rsi01<50&&rsi02>50){
SendMail("RSI Cross Shrt","RSI crossed 50% to go SHORT "+TimeToStr(Time[0],TIME_DATE)+" "+TimeToStr(Time[0],TIME_MINUTES));
}
}
I will test it out asap and let you know if it worked. Funny thing is I worked with this with Steven there at InterbankFX! I guess his s dont work every time.
I will test it out asap and let you know if it worked. Funny thing is I worked with this with Steven there at InterbankFX! I guess his s dont work every time.
thanks
Do you work for IBFX or did they just code this for you?
__________________
"Anyone who has never made a mistake has never tried anything new." -Albert Einstein