I wrote an expert but it doesn't work very well i would be very grateful if anybody can help me .
I checked MACD in H4 in EUR/GBP and the condition is when the MODE_MAIN of MACD is > 0 BUY EUR and SELL GBP and when is < 0 first of all close previous position and open SELL EUR and BUY GBP.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
I attach both of above EA at the same time EG-EUR on EUR/USD and EG-GBP on GBP/USD
Hi all,
I wrote an expert but it doesn't work very well i would be very grateful if anybody can help me .
I checked MACD in H4 in EUR/GBP and the condition is when the MODE_MAIN of MACD is > 0 BUY EUR and SELL GBP and when is < 0 first of all close previous position and open SELL EUR and BUY GBP.
It usually open just one of them .
Thanks
I am looking for a EA programmer to write me a program
Can you help.
Thanks
Pee85
Can you help.
Thanks
Pee85here you go
https://www.mql5.com/en/forum/general
https://www.mql5.com/en/forum/general
Hi. I really need help in this:
https://www.mql5.com/en/forum/general
Also thanks again phoenix...
LF
Alert for indicator
Hello All,
I'm hoping someone can figure out how to add an alert to this indicator. I really enjoying reading all the posts and the team work from everyone here.
Thanks.
#property indicator_chart_window
#property indicator_buffers 2
#property indicator_color1 Red
#property indicator_width1 2
#property indicator_color2 Lime
#property indicator_width2 2
extern int SignalGap = 4;
int dist=24;
double b1[];
double b2[];
int init() {
SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,1);
SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,1);
SetIndexArrow(1,233);
SetIndexArrow(0,234);
SetIndexBuffer(0,b1);
SetIndexBuffer(1,b2);
return(0);
}
int start() {
int counted_bars=IndicatorCounted();
int k,i,j,limit,hhb,llb;
if (counted_bars<0) return(-1);
if (counted_bars>0) counted_bars--;
limit=Bars-1;
if(counted_bars>=1) limit=Bars-counted_bars-1;
if (limit<0) limit=0;
for (i=limit;i>=0;i--) {
hhb = Highest(NULL,0,MODE_HIGH,dist,i-dist/2);
llb = Lowest(NULL,0,MODE_LOW,dist,i-dist/2);
if (i==hhb)
b1=High+SignalGap*Point;
if (i==llb)
b2=Low[llb]-SignalGap*Point;
}
return(0);
}
hmmmm, nyachty, this indicator is very cool, I hope somebody to put sound alert, please.
Nyachty can you show me a literature for this indicator - when to enter and when to exit, also how to filtrate the signals. Thanks.
Eaglehawk,
I am not programmer. I can program something but it takes a long time for me.
Try to look at Codersguru lessons here http://www.metatrader.info/node/34
And there are some thread also:
- https://www.mql5.com/en/forum/general
- https://www.mql5.com/en/forum/173108
- https://www.mql5.com/en/forum/173589Just wanted to remind about the links concerning icustom.
Besides there is some example about icustom here for RSIFilter_v1 and NonLagMA_v5 indicators.
How can I make this play both lines?
PlaySound("trendn.wav");
Alert("EMA Cross Trend going Down on ",Symbol(),Period());
All I get is the alert window, it comes up too fast for the wav to play?
Thanks for any help