Indicators with alerts/signal - page 263

 
pippie:
Can you create an indicator which will play a sound at the crossing?

Thanks

pippie

You may use this one.

It plays sound with alert on crossing. Besides you may select the first EMA period and second EMA period for crossing.

If you need some particular sounds it is possible to place an other wav file in /sounds folder, then open in MetaTrader "Tools", then "Options", "Events" and select your file for alert. I did not try but I think it should work.

Files:
 

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.

Files:
 
image3022:
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 |

//| Forex-TSD |

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

#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

Mark,

I am not good coder. But seems I did this alert.

I modified the Codersguru code for JMA.

Just insert this JMA_alert indicator to the chart and make sure that you have original JMA indicator in the folder (but not in the chart). So, the JMA_alert only should be attached to the chart.

And you may change the settings. By default it is Length_slow = 7 and Length_fast = 5. But it may be any.

Files:
jma.mq4  12 kb
jma_alert.mq4  3 kb
 

Some new alerts with I created for my friend.

They R a litle diffrent from average alerts becouse of range param.

It's like that:

when eg. ema is 1.2000 and u set range param to 1 then the indicator will alert when the price will be in range +- 1 pip from price. So it will alert on this values:

1.9999

1.2000

1.2001

It may be useful in some cases

Enjoy!

Files:
 

5.34.5

Hello programmers,

This section is really interesting for all those which want indicators of crossing with alarm.

Today I am in the search of an indicator of crossing based on 5.34.5 5 I attach it with this message).

I know that it is dynamic but I am on a manual method which finds its origin at the time of the crossing of this indicator.

Thank you with all .

Files:
5_34_5.mq4  4 kb
 

linear regression forecast indicator

This is the linear regression forecast indicator from the Ricky D system.

Would anyone here make it so that it gives an alert whenever the T3 line crosses level 0?

thanks

Files:
 

Hi,

Stochastic with alert for goldenequity needs.

Files:
 

Need some help coding an Alarm

I use an AMA as part of my trading setup. I will post the indicator. Can someone please help me add an alarm for when the signal changes from "deep sky blue" to "magenta" and from "magenta" to "deep sky blue"....also, is it possible to make it so that within the signal properties the alarm can be turned on or off? This would surely help me get some decent sleep during the week.

Thanks

Files:
 

New Indicator

I don't know if I am right here posting this basic time based alarm indicator (if not please tell me).

bar_close_alarm_V1.mq4

Attached you find the indicator (my first programmed) which gives a sound signal x (standard 2) minutes before the next bar closes.

It helps (me) to follow a trading system based on a higher time frame. F.e. with the standard settings you get a reminder 2 minutes before the next bar closing (f.e. tf 30) is near - so that you are able to look at the chart and decide if you want to trade on the next opening bar or not. Then it is not necessary to look at the watch the whole time.

hope you enjoy

mibl

Files:
 

Audible alert for needed, thank you.

I was looking for an audible alert, for met4 charts - 1 hour charts -for the attached indicator. If an audible alert could be sounded at the close of the first bar with a colour change from red > green and vice versa on the histogram. Thanks for any input or help given.

Reason: