Indicators with alerts/signal - page 32

hada
38
hada  

Hi,

i am need help too.. audible with alert when red line crosses zero line

help me please .. big thanks for help

Files:
5_34_5.mq4 4 kb
hada
38
hada  
BrunoFX:
Hello Hada, You should have read the messages before repeating an already put question: https://www.mql5.com/en/forum

oopss sorry..

image3022
93
image3022  

JMA Cross

Hi All

Does any know of a JMA cross alert, or can anyone modify a EMA cross alert to a JMA cross alert for me. The alert below works well but not knowing anything about programing I can't change the EMA to JMA (simply replacing the ema with jma does not work). The one below alerts once on cross, I would like it to alert five times before it stops.

//+------------------------------------------------------------------+

//| CrossedAlerts.mq4 |

//| Coders Guru |

//| https://www.mql5.com/en/forum |

//+------------------------------------------------------------------+

#property copyright "Coders Guru"

#property link "https://www.forex-tsd.com"

#property indicator_chart_window

#property indicator_buffers 2

#property indicator_color1 Lime

#property indicator_color2 Aqua

//---- buffers

double ExtMapBuffer1[];

double ExtMapBuffer2[];

//+------------------------------------------------------------------+

//| Custom indicator initialization function |

//+------------------------------------------------------------------+

int init()

{

//---- indicators

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(1,ExtMapBuffer2);

//----

return(0);

}

//+------------------------------------------------------------------+

//| Custor indicator deinitialization function |

//+------------------------------------------------------------------+

int deinit()

{

//----

//----

return(0);

}

bool Crossed (double line1 , double line2 )

{

static string last_direction = "";

string current_dirction = "";

if(line1>line2)current_dirction = "up";

if(line1<=line2)current_dirction = "down";

if(current_dirction != last_direction)

{

Alert("EMA Cross for "+Symbol()+" on the "+Period()+" minute chart.");

last_direction = current_dirction;

return (true);

}

else

{

return (false);

}

}

int start()

{

int counted_bars=IndicatorCounted();

//---- check for possible errors

if (counted_bars<0) return(-1);

//---- last counted bar will be recounted

if (counted_bars>0) counted_bars--;

int pos=Bars-counted_bars;

while(pos>=0)

{

ExtMapBuffer1[pos]= iMA(NULL,0,5,0,MODE_EMA,PRICE_CLOSE,pos);

ExtMapBuffer2[pos]= iMA(NULL,0,7,0,MODE_EMA,PRICE_CLOSE,pos);

pos--;

}

Print(Crossed (ExtMapBuffer1[0],ExtMapBuffer2[0]));

//----

return(0);

}

//+------------------------------------------------------------------+

Have a great Day Mark

image3022
93
image3022  

JMA Cross alert

Thanks Newdigital for the JMA cross alert, works perfectly just what I was looking for.

Mark

William Snyder
9492
William Snyder  
forex_tsd_:
Hi,

It is really a good indicator. Can somebody make this indicator with the opposite way of it before?

Thank you

Found this one in code base, T3'd it , looks similar but backwards of yours.

William Snyder
9492
William Snyder  
fxnewbie:
Iteresting S/R levels indicator you have in your chart, mrtools. Is it posibble to share it ?

You can get it from here https://www.mql5.com/en/forum/174980 first post that page!

onelesstick
18
onelesstick  

Hi

I have modified the standard bb squeeze indicator to have alerts. As some trading methods trade while in the squeeze and others wait until the squeeze has ended I have provided options for both.

Enjoy

Files:
svirgo
140
svirgo  

Audio - popup alert

hiachiever:
Slight error. Now fixed.

Just need to make the Difference number an absolute number.

Cheers,

Hiachiever.

Would someone please add an audio and or pop-alert to the MADistance indicator.

I would be very grateful as this would assist with my trading strategy.

Thanks

svirgo
140
svirgo  

Thanks

hiachiever:
Alerts added as requested.

Enjoy,

Hiachiever

Wow! Thanks. - I will test it and let you know.

shausmann
64
shausmann  

Need programmer help for Alert!!!!

Hi,

I need help from one of you great programmers out there.

I'm working with Nina's system CatFx50 and like to have an audio alert when the indicator draws the famous arrow (up or down).

My programming skills are not good at all, so I'm asking you guys to please help me.

There is an indicator called shi_channel_talking which gives you an audio alert when set parameter (channel) is changing, that's kind of what I like for the CatFx50.

I attached both indicators and a screenshot of the arrows.

I appreciate the help.