Indicators with alerts/signal - page 8

To add comments, please log in or register
Sergey Golubev
Moderator
113448
Sergey Golubev  
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.

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

Thanks

pippie

Or you may use this one.

It is voice only.

Open this indicator in MetaEditor and you may change the text "EMA cross" from

SpeechText("EMA cross");

to the yours.

Sergey Golubev
Moderator
113448
Sergey Golubev  
forextrend:
opps no more need for it

It should be here and here.

Sergey Golubev
Moderator
113448
Sergey Golubev  
DeSt:
Can a charitable programmer alter the ASCTrend alerts so that it places a trade at the alert? Please post the completed program in expert advisor version 4 section of this forum.

I did not check but I think we have alert for ASCTrend already somewhere here.

As to ASCTrend EA so I know many attempts to do it. But first we need to evaluate this ASCTrend system (on the same way as we evaluated Braintrading system). We must be sure that this ASCTrend works and estimate the rules for the EA.

What are the difficulties?

As you know ASCTrend (and Braintrend etc) is signal system. It means that "the indicators are significant and price is nothing". Is it good or bad? Good because even the my son may trade using strict signal systems' rules following the dots or arrows. Just show him how to move the mouse and that's all.

Why is it bad? because we are not looking on the price and all the rules should be estimated very carefully because of that.

If we have non-signal system (some EMA crossing for example) we will have the price as the main subject and all the indicators with dots and arrows are auxiliary ones just for the confirmation and validation only. We will get all the information from the price movement. And small child can not trade non-signal system: he should be educated and experienced.

ASCTrend is the signal system.

Sergey Golubev
Moderator
113448
Sergey Golubev  
DeSt:
It might be difficult but it will be worth the work. After an expert advisor is completed, you can test the performance of ASCTrend with the system tester in trading platform.

Agree.

All the job is the following:

- we are estimating the rules for this EA.

- we are trading manually making sure that this rules are working and everything is fine.

- programmers code the EA.

- testing.

That is why I am talking about the rules: programmer are not doing it usually.

Sergey Golubev
Moderator
113448
Sergey Golubev  
TheOne:
Please can someone help with this one. Anybody.

Codersguru is always doing any alert. You may ask him.

Sergey Golubev
Moderator
113448
Sergey Golubev  
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
Sergey Golubev
Moderator
113448
Sergey Golubev  

Thread with Ichimoku alert is here.

Sergey Golubev
Moderator
113448
Sergey Golubev  
WNW:
Hi all, All I want to do really is draw a horizontal line and have an alert sound when the line is touched by price. I can't find an existing indicator that will allow me to do this. Ideally just an alert option added to the Horizontal Line drawing would do it... Any help appreciated. Thanks in advance, William

MetaTrader is having alert. Open it (see image), right mouse click, choose "Create".

Sergey Golubev
Moderator
113448
Sergey Golubev  

Good thread concerning the custom alerts is here.

To add comments, please log in or register